[BUG_FIXED] Provide a walk around solution for the wrap symbol display problem in scintilla.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@559 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2009-11-12 01:19:50 +00:00
parent b8c8283a5d
commit 1e41a66293

View File

@ -371,7 +371,7 @@ public:
}; };
void showWrapSymbol(bool willBeShown = true) { void showWrapSymbol(bool willBeShown = true) {
execute(SCI_SETWRAPVISUALFLAGSLOCATION, SC_WRAPVISUALFLAGLOC_END_BY_TEXT); execute(SCI_SETWRAPVISUALFLAGSLOCATION, SC_WRAPVISUALFLAGLOC_DEFAULT);
execute(SCI_SETWRAPVISUALFLAGS, willBeShown?SC_WRAPVISUALFLAG_END:SC_WRAPVISUALFLAG_NONE); execute(SCI_SETWRAPVISUALFLAGS, willBeShown?SC_WRAPVISUALFLAG_END:SC_WRAPVISUALFLAG_NONE);
}; };