mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: Autocomple now ignores dv___ items (layout placeholders)
This commit is contained in:
parent
e427960b2a
commit
f7ebcbd97b
2 changed files with 11 additions and 6 deletions
|
|
@ -713,7 +713,8 @@ void AssistEditor::Assist(bool macros)
|
|||
assist_type.Add("<macros>");
|
||||
if(has_globals)
|
||||
assist_type.Add(Null);
|
||||
for(const AutoCompleteItem& m : items) {
|
||||
for(const AutoCompleteItem& m : items)
|
||||
if(!m.name.StartsWith("dv___")) {
|
||||
AssistItem& f = assist_item.Add();
|
||||
(AutoCompleteItem&)f = m;
|
||||
f.uname = ToUpper(f.name);
|
||||
|
|
|
|||
|
|
@ -145,6 +145,10 @@ void OnCrash()
|
|||
#endif
|
||||
}
|
||||
|
||||
INITBLOCK { // libclang does not work in Linux unless this is set
|
||||
SetEnv("LC_CTYPE", "en_US.UTF-8");
|
||||
}
|
||||
|
||||
#ifdef flagMAIN
|
||||
GUI_APP_MAIN
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue