CodeEditor, ide: Word wrap

git-svn-id: svn://ultimatepp.org/upp/trunk@11473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-11-17 08:03:36 +00:00
commit e23edffb9a
8 changed files with 61 additions and 12 deletions

View file

@ -225,13 +225,13 @@ protected:
// EditorSyntax rm_ins;
char rmb;
int highlight_bracket_pos0;
int highlight_bracket_pos;
bool bracket_flash;
int bracket_start;
char rmb;
int highlight_bracket_pos0;
int highlight_bracket_pos;
bool bracket_flash;
int bracket_start;
bool barline : 1;
bool barline;
double stat_edit_time;
Time last_key_time;
@ -241,6 +241,7 @@ protected:
bool persistent_find_replace;
bool do_ff_restore_pos;
bool withfindreplace;
bool wordwrap;
int ff_start_pos;
@ -483,6 +484,7 @@ public:
bool GetMarkLines() { return mark_lines; }
void AutoEnclose(bool b) { auto_enclose = b; }
void BarLine(bool b) { barline = b; }
void WordWrap(bool b) { wordwrap = b; }
void PersistentFindReplace(bool b = true) { persistent_find_replace = b; }
bool IsPersistentFindReplace() const { return persistent_find_replace; }