diff options
| author | Jakub Vrana <jakub@vrana.cz> | 2012-11-10 11:32:43 -0800 | 
|---|---|---|
| committer | Jakub Vrana <jakub@vrana.cz> | 2012-11-10 11:32:43 -0800 | 
| commit | 971b824a22f383373a6fe45e0fae1e06944a25e5 (patch) | |
| tree | 68f2d18ae1c0acc2a089fa837a6ab5e22d607acf /src | |
| parent | c854480ced92a08d08723b5c042d7715bc6067bf (diff) | |
| download | scintilla-mirror-971b824a22f383373a6fe45e0fae1e06944a25e5.tar.gz | |
Group undo actions in autocomplete
Diffstat (limited to 'src')
| -rw-r--r-- | src/ScintillaBase.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index b3b0b679f..5fc908e91 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -202,6 +202,7 @@ void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) {  			const char *typeSep = strchr(list, ac.GetTypesep());  			int lenInsert = typeSep ?   				static_cast<int>(typeSep-list) : static_cast<int>(strlen(list)); +			UndoGroup ug(pdoc);  			if (ac.ignoreCase) {  				SetEmptySelection(sel.MainCaret() - lenEntered);  				pdoc->DeleteChars(sel.MainCaret(), lenEntered); | 
