Commit Graph

17 Commits

Author SHA1 Message Date
Martín Lucas Golini
d10ead9bba Improved key bindings support in the Code Editor, and some mino fixes.
Renamed LuaPatternMatcher to LuaPattern.
2020-06-26 19:48:08 -03:00
Martín Lucas Golini
60a7a28b28 Added support for range based searches in the TextDocument and Code Editor.
Total refactor of the Code Editor.
Many many minor changes and fixes, still needs more testing.
2020-06-26 06:32:33 -03:00
Martín Lucas Golini
f880a32a02 More improvements to the Code Editor. 2020-06-25 02:18:08 -03:00
Martín Lucas Golini
c5b0f0d845 Code Editor now saves the configuration and allows to configure most relevant stuff from the menus. 2020-06-24 22:37:46 -03:00
Martín Lucas Golini
c92e048021 Minor optimizations for the StyleSheetParser.
Added more menus for the Code Editor.
Code Editor now saves the basic configuration.
Renamed NodeMessage::Click to NodeMessage::MouseClick and NodeMessage::DoubleClick to NodeMessage::MouseDoubleClick to maintain consistency.
Optimized String::split.
And also some other minor improvements.
2020-06-24 16:42:19 -03:00
Martín Lucas Golini
78e28ccd83 UICodeEditor now acts as a client. A TextDocument can be consumed by any number of clients.
This enables the possibility of editing the same file in several splits and tabs at the same time in the code editor.
2020-06-22 02:29:05 -03:00
Martín Lucas Golini
b9c0a44395 Minor fixes in syntax definitions.
Minor fixes in breeze theme.
Allow to set the pixel density in the code editor.
2020-06-14 05:33:26 -03:00
Martín Lucas Golini
85d3886fc0 Improvements to the code editor (added save/save as and more).
Added FileSystem::fileCanWrite.
Syntax Definition now can guess the language based on its header.
Added more syntax definitons.
Fixed borders alpha.
2020-06-14 05:00:14 -03:00
Martín Lucas Golini
9c4f24c3cb Added Window::hasFocus(), Window::hasInputFocus() and Window::hasMouseFocus().
Fixed an issue when widgets were created during an layout update.
Some minor improvements to the Code Editor.
2020-06-10 04:12:08 -03:00
Martín Lucas Golini
bd9170baee Added color picking capability in the UICodeEditor.
Some minor improvements to the code editor.
Some minor fixes.
2020-06-08 05:25:57 -03:00
Martín Lucas Golini
3c218237e1 Code Editor fixes. 2020-06-07 18:17:07 -03:00
Martín Lucas Golini
0f2b726662 Added find/replace to the code editor.
General clean up on Scene::Node.
Several minor fixes related to the keyboard navigation.
2020-06-07 06:06:32 -03:00
Martín Lucas Golini
b953c7d3c1 Added switch between splits (prev/next) in Code Editor.
Added highlight to matching brackets in UICodeEditor.
Added selection match highlight in UICodeEditor.
Improved text selection when selecting tabs (\t) in UICodeEditor.
Added load color schemes from config files.
Added loadFromMemory and loadFromPack to TextDocument.
Added color schemes to the Code Editor.
2020-06-06 05:41:23 -03:00
Martín Lucas Golini
c408491633 Minor refactor and UISplitter improvements.
Improved dragging.
UITab now supports close button and proper close control (user can deny the close request).
UITabWidget now allows to rearrange the tabs in the tab bar.
2020-06-05 04:52:33 -03:00
Martín Lucas Golini
951d7b2e7e Renamed UITabWidget "TabContainer" to "TabBar".
Added UITabWidget::set/getHideWhenNotNeeded to hide the TabBar if only 1 tab is available.
UIStyle now restricts the animations in the first onStateChange received (sin there's no previous state to animate from).
Added UISplitter::swap.
Critical fix in Node::setParent.
Added Node::findByType.
Fixed Code Editor splitting.
Minor improvements in Code Editor.
2020-06-04 19:00:58 -03:00
Martín Lucas Golini
601354f3b3 Minor improvements in the code editor. 2020-06-03 03:06:26 -03:00
Martín Lucas Golini
aeedc65db6 Improved the Code Editor, now supports tabs and split views (WIP).
Several general fixes.
2020-06-02 22:21:07 -03:00