aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-09-20 04:37:44 +0000
committernyamatongwe <devnull@localhost>2003-09-20 04:37:44 +0000
commitd1f3f7f79349b947ecd0c26cdab48830450160cc (patch)
tree0cc9d5840fa47dfe80b345034edd47caf0106c54 /src/Editor.cxx
parent7b7cff9b11bf31c1303dea46e7c96198f8f7b569 (diff)
downloadscintilla-mirror-d1f3f7f79349b947ecd0c26cdab48830450160cc.tar.gz
Formatting, dates.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index c722f80ad..f3d359a7b 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -502,7 +502,9 @@ const char *ControlCharacterString(unsigned char ch) {
}
}
-// Convenience class to ensure LineLayout objects are always disposed.
+/**
+ * Convenience class to ensure LineLayout objects are always disposed.
+ */
class AutoLineLayout {
LineLayoutCache &llc;
LineLayout *ll;
@@ -688,8 +690,10 @@ int Editor::PositionFromLineX(int lineDoc, int x) {
return retVal;
}
-// If painting then abandon the painting because a wider redraw is needed.
-// Return true if calling code should stop drawing
+/**
+ * If painting then abandon the painting because a wider redraw is needed.
+ * @return true if calling code should stop drawing.
+ */
bool Editor::AbandonPaint() {
if ((paintState == painting) && !paintingAllText) {
paintState = paintAbandoned;