aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-12-20 22:44:04 +0000
committernyamatongwe <unknown>2001-12-20 22:44:04 +0000
commit3a04bd6d2957f283e90d5add5d03fc1882726669 (patch)
tree93db982c27915669db06b442c2042f8e692103f2 /src
parent2b672082c6806d274d11c27dd6f65ffee23d30a2 (diff)
downloadscintilla-mirror-3a04bd6d2957f283e90d5add5d03fc1882726669.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 {