mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CodeEditor, ide: Word wrap
git-svn-id: svn://ultimatepp.org/upp/trunk@11473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a70d0b7d4a
commit
5dff5fc989
8 changed files with 61 additions and 12 deletions
|
|
@ -184,12 +184,10 @@ void Ide::InsertInclude(Bar& bar)
|
|||
bar.Add("All #includes", THISBACK1(InsertText, all));
|
||||
}
|
||||
|
||||
void Ide::InsertAdvanced(Bar& bar)
|
||||
void Ide::ToggleWordwrap()
|
||||
{
|
||||
bool b = !editor.IsReadOnly();
|
||||
bar.Add(b, "Insert", THISBACK(InsertMenu));
|
||||
bar.Add(b, "Insert #include", THISBACK(InsertInclude));
|
||||
bar.Add(b, "Advanced", THISBACK(EditSpecial));
|
||||
wordwrap = !wordwrap;
|
||||
SetupEditor();
|
||||
}
|
||||
|
||||
void Ide::EditorMenu(Bar& bar)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue