aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 97cb64329..a9da3f9a1 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -217,9 +217,9 @@ protected: // ScintillaBase subclass needs access to much of Editor
// Wrapping support
enum { eWrapNone, eWrapWord } wrapState;
- enum { wrapWidthInfinite = 0x7ffffff};
+ enum { wrapWidthInfinite = 0x7ffffff };
int wrapWidth;
- bool needWrap;
+ int docLineLastWrapped;
Document *pdoc;
@@ -275,6 +275,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void DropCaret();
void InvalidateCaret();
+ void NeedWrapping(int docLineStartWrapping=0);
bool WrapLines(int *goodTopLine);
int SubstituteMarkerIfEmpty(int markerCheck, int markerDefault);