Small fix in the syntax tokenizer.

Fix in the key events received by the UICodeEditor.
Reimplemented TextDocument::insert to improve performance.
Dragged Tab relative position fix.
Removed incorrect KeyDown event.
Minor UI tweaks.
This commit is contained in:
Martín Lucas Golini
2020-06-26 20:54:06 -03:00
parent d10ead9bba
commit 2b5454b041
15 changed files with 169 additions and 144 deletions

View File

@@ -36,7 +36,7 @@ class UISearchBar : public UILinearLayout {
};
struct UIConfig {
Float fontSize{11};
StyleSheetLength fontSize{12, StyleSheetLength::Dp};
};
struct WindowConfig {
@@ -126,6 +126,7 @@ class App : public UICodeEditorSplitter::Client {
std::string mConfigPath;
std::string mKeybindingsPath;
SearchState mSearchState;
Float mDisplayDPI;
void onFileDropped( String file );