aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-12-20 22:44:04 +0000
committernyamatongwe <devnull@localhost>2001-12-20 22:44:04 +0000
commit5cd80a8dce1c7f35546567b0e2af6bed3e1116d8 (patch)
tree93db982c27915669db06b442c2042f8e692103f2 /src
parentd679ceff1769acfd5abffd4f2a43076bb68cc311 (diff)
downloadscintilla-mirror-5cd80a8dce1c7f35546567b0e2af6bed3e1116d8.tar.gz
Patch from stephan to avoid setting cursor to the same value multiple
times on GTK+ as it is retained by the window. Minor cleanups.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 374e2b33f..97cb64329 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -54,6 +54,8 @@ public:
int lines;
enum {maxDisplayLines = 400};
int lineStarts[maxDisplayLines];
+
+ LineLayout() : numCharsInLine(0) {}
};
class SelectionText {