Commit Graph

1636 Commits

Author SHA1 Message Date
Martín Lucas Golini
b84080f7ec SyntaxTokenizer improvements. Now it's possible to set captures to sub-syntaxes and ranges.
Fix in RegEx that prevented to ^ work properly in tokenizer.
2025-03-09 01:57:54 -03:00
Martín Lucas Golini
dfb0820d0f Added a new fuzzy matching algorithm, it should be better than the previous version, it's similar to what most editors have (implementation is inspired in the sublime_text fuzzy matcher). 2025-03-08 18:33:25 -03:00
Martín Lucas Golini
0dba4a222b A couple of minor changes. 2025-03-07 00:15:22 -03:00
Martín Lucas Golini
65586b5158 Fix Windows build. 2025-03-04 01:36:00 -03:00
Martín Lucas Golini
186888c023 Move IconManager to EE::UI so it can be consumed by other applications. 2025-03-04 01:20:17 -03:00
Martín Lucas Golini
e15bb2386b Fix syntax highlight error in sub-syntaxes due to an incorrect line cache movement on added lines.
Add a new event to track the number of visible lines changes in UICodeEditor.
2025-03-03 12:29:53 -03:00
Martín Lucas Golini
276ed6bfb0 Fix UIWidget::notifyLayoutAttrChangeParent() when used during a transaction.
Fix UIWidget::setLayoutMargin* not correctly invalidating the parent layout.
Fix a complete UI lock when trying to display a UIMessageBox after failed debugging in ecode.
2025-03-02 20:29:17 -03:00
Martín Lucas Golini
762b740102 Implement UICodeEditor::isScrollable so it can have a parent scrollable element. 2025-03-02 13:24:10 -03:00
Martín Lucas Golini
2f2f9349f7 Improve padding support for UICodeEditor. 2025-03-01 00:35:12 -03:00
Martín Lucas Golini
cb5c787a59 Fix a rare crash during quick paging. 2025-02-28 18:56:49 -03:00
Martín Lucas Golini
8867c87279 Fixed an old UILinearLayout bug when using layout weights.
Fixed a performance regression in line wrapping when a monospace font contains fallback glyphs from other fonts.
Fixes in code editor horizontal scroll.
2025-02-28 00:45:53 -03:00
Martín Lucas Golini
a91fde6dfd Improved whitespace rendering performance on wrapped lines, now it has the same cost than non-wrapped lines.
Fixed: Debugger gutter not drawing its background.
Fixed: horizontal scrollbar sometimes being visible on wrapped documents.
Updated CSS Specification documentation.
2025-02-27 19:26:08 -03:00
Martín Lucas Golini
a08148bc57 Color Emoji fonts are now displayed correctly in monospaced fonts (they will have the right size and color).
Several improvements have been done to avoid losing performance when rendering non-monospaced text over monospaced fonts.
Exposed properties to UICodeEditor (PropertyId::EnableCodeEditorFlags, PropertyId::DisableCodeEditorFlags, PropertyId::LineWrapMode, PropertyId::LineWrapType).
Event::OnSizeChange event is now reported AFTER onSizeChange event has been processed by the widget that changed its size.
UIApplication now loads a monospaced font if found.
Fixes in String::readBySeparator.
2025-02-27 00:20:26 -03:00
Martín Lucas Golini
173f976d21 Fix FileSystemModel Model rename not updating childs paths recursively.
Git branch model now displays if branch origin is gone.
2025-02-22 00:49:18 -03:00
Martín Lucas Golini
2b0d1ec0ff Small refactor. 2025-02-17 00:45:24 -03:00
Martín Lucas Golini
187b9bd202 Fix cursor-undo command (SpartanJ/ecode#389). 2025-02-16 10:48:46 -03:00
Martín Lucas Golini
5dbab3b4c5 Pump patch level in eepp and ecode. Forgot to set a new code name, so it will change in next version: "Vastiva". 2025-02-13 21:10:10 -03:00
Martín Lucas Golini
b3ed22c666 Add transformation commands for documents: escape, unscape, to-base64, from-base64. 2025-02-12 20:18:43 -03:00
Martín Lucas Golini
4e7c9f74c1 Add distance functions to TextPosition and TextRange. 2025-02-09 01:01:13 -03:00
Martín Lucas Golini
0da3ffca17 Add flash cursor command and functionality. 2025-02-07 00:09:32 -03:00
Martín Lucas Golini
eae433796e Highlight current debugged line.
Hid debugger panel if other panel is opened.
Silence the debugger by default.
2025-02-05 01:02:46 -03:00
Martín Lucas Golini
0b7dad2696 Update breakpoints line position if document is edited (added/removed lines). 2025-02-04 00:12:15 -03:00
Martín Lucas Golini
d3bc6f2935 Fix for multi-line signature help labels, now labels will be flatten into a single line (SpartanJ/ecode#388).
Fix next signature help position.
Fix signature help and suggestions styles for light color schemes, and some minor improvements for other schemes.
Allow to set extra trigger characters for signature help in LSP configurations (fix zig zls not updating signature position after a "," input).
Plus some other minor fixes.
2025-02-02 19:07:41 -03:00
Martín Lucas Golini
87fb9538cb Fix multi-line search in buffer bug.
Added: display new line character in selection.
Fixed a crash when trying to write into a broken pipe.
2025-01-30 01:13:04 -03:00
Martín Lucas Golini
1a3aeb31e0 Added SIMD to String::isAscii, check if this builds in every platform or I have to revert.
Fixed emscripten 3 and 4 build issues (i had 2 mains defined 🤦).
2025-01-29 00:32:16 -03:00
Martín Lucas Golini
ad39ced875 Fix in project build. 2025-01-28 23:59:09 -03:00
Martín Lucas Golini
0f4af5c4f3 Do not use UnorderedMap in PropertySpecification, it's not stable in MSVC too. 2025-01-25 17:01:16 -03:00
Martín Lucas Golini
b300c9d48b Fixes for checkboxes in tree views and table views. Fixes for breakpoints enable/disable. 2025-01-25 02:09:29 -03:00
Martín Lucas Golini
4315808074 Nothing, wip. 2025-01-24 00:47:55 -03:00
Martín Lucas Golini
ce47145ba9 Fix / improve line comments toggle (SpartanJ/ecode#384).
Hide debugger panel when opening a single file.
2025-01-23 00:44:37 -03:00
Martín Lucas Golini
c945b0b659 Minor fixes in UITreeView.
Minor fixes in debugger and some new menues.
2025-01-22 00:59:52 -03:00
Martín Lucas Golini
40d21de8dd Improve hover expression, now use a treeview (still WIP but works). 2025-01-21 00:50:10 -03:00
Martín Lucas Golini
277f410ad0 WIP supporting more debuggers. 2025-01-20 19:43:56 -03:00
Martín Lucas Golini
5533ab46f1 More improvements to debugger. Allow to pick running process to debug. Improve expressions inspection. 2025-01-19 23:40:15 -03:00
Martín Lucas Golini
b0d6e6153d Improve how we keep expanded variables in debugger. 2025-01-18 20:09:38 -03:00
Martín Lucas Golini
0fcd6518d6 Fix UITextView wrap not respecting padding. 2025-01-17 01:16:27 -03:00
Martín Lucas Golini
6fe9d34c4a More fixes. 2025-01-16 00:47:21 -03:00
Martín Lucas Golini
2f6f825a63 More WIP implementing more functionalities in DAP. This commit will probably fail on some OSes. 2025-01-11 16:24:27 -03:00
Martín Lucas Golini
5dc0bd24cc Load supported launch.json vscode configurations.
Add debug controls in debugger panel.
2025-01-10 00:38:41 -03:00
Martín Lucas Golini
403005301d More improvements to debugger. 2025-01-08 01:51:38 -03:00
Martín Lucas Golini
635cba6e51 Debugger: Inspect variables WIP. 2025-01-06 02:42:05 -03:00
Martín Lucas Golini
df65ec78c3 Basic debugging working. 2025-01-04 15:43:54 -03:00
Martín Lucas Golini
443aead0df More WIP. 2025-01-02 01:08:02 -03:00
Martín Lucas Golini
cf84fc7cff Save side panel tabs order. 2025-01-01 16:18:26 -03:00
Martín Lucas Golini
9fc6078c61 Merge branch 'develop' into debugger 2024-12-29 23:50:46 -03:00
Martín Lucas Golini
793e87af5c Allow to split editors views by dragging tabs into the tab widget corners. 2024-12-29 23:50:24 -03:00
Martín Lucas Golini
bbfcc74977 More WIP, debugger starting correctly. Tested several commands and all working. 2024-12-28 20:31:33 -03:00
Martín Lucas Golini
0dc3642692 Merge branch 'develop' into debugger 2024-12-27 13:17:28 -03:00
Martín Lucas Golini
48772bc6d3 Minor fixes. 2024-12-27 01:03:49 -03:00
Martín Lucas Golini
524ea4da15 Async load fonts too. 2024-12-24 18:05:36 -03:00