ide: Comments wordwrapping

git-svn-id: svn://ultimatepp.org/upp/trunk@10396 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-11-05 18:42:27 +00:00
commit 23d5cc49bc
7 changed files with 43 additions and 20 deletions

View file

@ -275,6 +275,7 @@ protected:
String highlight;
int spellcheck_comments = 0;
bool wordwrap_comments = true;
struct Tip : Ctrl {
Value v;
@ -466,6 +467,8 @@ public:
void SpellcheckComments(int lang) { spellcheck_comments = lang; Refresh(); }
int GetSpellcheckComments() const { return spellcheck_comments; }
void WordwrapComments(bool b) { wordwrap_comments = b; }
bool IsWordwrapComments() const { return wordwrap_comments; }
void NoFindReplace() { withfindreplace = false; }