Commit Graph

149 Commits

Author SHA1 Message Date
Martín Lucas Golini
a64bcb558b Added C2 syntax highlighting (SpartanJ/ecode#447). 2025-05-30 01:43:13 -03:00
Martín Lucas Golini
da829b1dd2 Added eC syntax highlighting (SpartanJ/ecode#485).
Fixed health feature.
2025-05-29 00:45:48 -03:00
Martín Lucas Golini
eacb3a0f5b Syntax Definitions are going to be loaded on-demand instead of during start-up (this allows to add as many as wanted without worrying about memory usage or load times).
Added Racket syntax highlighting and LSP support (SpartanJ/ecode#459).
2025-05-28 23:54:34 -03:00
Martín Lucas Golini
0df86b1d53 RegEx fixes. TextMate grammars fixes. 2025-05-28 03:08:17 -03:00
Martín Lucas Golini
70aecddd18 Added support for Tab jump modes (SpartanJ/ecode#469). Including a Tab Switcher (I have no better name for the moment).
Added support to hide the Tab Bar (SpartanJ/ecode#477).
Updated efsw.
Updated JS, TS, C++ grammars.
2025-05-24 01:10:50 -03:00
Martín Lucas Golini
83e92d1d8b Fix Android build.
Converted 3 TextMate language grammars to ecode: L.B. Stanza (SpartanJ/ecode#402), Typst (SpartanJ/ecode#449) and Gleam (SpartanJ/ecode#450). This is very much experimental for the moment.
2025-05-20 20:30:33 -03:00
Panzerschrek
99c173ef67 Simplify and improve Ü syntax highlighting. (#116)
Support all langauge operator symbols ($:.@?).
Remove extra rules for functions, classes, import directives etc., since their detection can't work properly in all cases - lexical analysis only isn't enough.
2025-05-19 14:35:31 -03:00
Martín Lucas Golini
d7af3e5f51 Fix the usual problem of highlighting "if()" and etc as functions in C, C++, JavaScript and TypeScript (this should be done for every language but I'm too lazy). 2025-05-16 22:38:58 -03:00
Timofey
306f88bb3a Update Rave syntax: more SIMD types, fix typo, more builtins (#114) 2025-05-12 13:23:40 -03:00
Martín Lucas Golini
821e7f50dd SyntaxTokenizer: improve the stack-based pattern matching to support include / repositories.
Added some *very basic* support for some *very basic* TextMate grammars, `$language.tmLanguage.json` files are now parsed and supported internally. Full support is not currently possible, and might never be. This is to facilitate converting grammars to ecode format.
Updated python linter and formatter to the latest ruff version.
2025-05-07 21:17:07 -03:00
Martín Lucas Golini
6a39a7b458 SyntaxTokenizer and SyntaxDefinition repository support WIP. 2025-05-06 19:26:50 -03:00
Martín Lucas Golini
90fbd9edc5 Added Elena syntax highlighting (SpartanJ/ecode#400). 2025-05-04 20:16:41 -03:00
Martín Lucas Golini
c394cc4847 Improve regex captures result processing in tokenizer.
Improved Vala syntax highlighting.
2025-05-04 02:28:07 -03:00
Martín Lucas Golini
ebc35b4224 Some extra improvements for the syntax tokenizer. 2025-05-03 21:20:28 -03:00
Martín Lucas Golini
fe84f10794 Improve tokenizer for closing sub-syntaxes.
Allow adding alternative names to languages.
2025-05-02 23:57:08 -03:00
Martín Lucas Golini
799d9f9371 Do not use malloc_trim if it's not available. 2025-04-22 12:08:47 -03:00
Martín Lucas Golini
d85091f70d Add FixScript syntax highlighting (SpartanJ/ecode#416). 2025-04-21 18:13:01 -03:00
Martín Lucas Golini
53aba9d887 Added syntax highlighting for ReScript (SpartanJ/ecode#407). 2025-04-20 10:55:51 -03:00
Martín Lucas Golini
d504c74098 Added ISPC syntax highlighting (SpartanJ/ecode#436). 2025-04-19 20:09:47 -03:00
Martín Lucas Golini
d0f4a2eeea Fix some issues with RegEx captures.
Added Janet syntax highlighting (SpartanJ/ecode#394).
Fixes in syntax highlighter to C++ converter.
2025-04-12 17:55:05 -03:00
Martín Lucas Golini
995b0c8432 Improve covscript syntax highlighting.
Add Tab Stops description / explanation.
2025-04-10 00:59:14 -03:00
Martín Lucas Golini
2458e30db1 Added "volatile" keyword to Adept (SpartanJ/ecode#412).
Fixed incorrectly exported string.
2025-04-09 11:02:44 -03:00
Martín Lucas Golini
9e131ebe11 Some fixes for import/export syntax definitions.
Added Zephir syntax highlighting support (SpartanJ/ecode#408).
2025-04-08 19:33:35 -03:00
Martín Lucas Golini
22d08d5016 Add Ü LSP support. 2025-04-07 19:49:39 -03:00
Martín Lucas Golini
2d62165657 Minor fixes in xit and markdown definitions.
Minor fix in text wrap.
Chat UI now displays Google Gemini error messages.
2025-04-06 23:41:35 -03:00
Martín Lucas Golini
fbe748f757 Fix Gemini 2.5 Exp model name.
Added the syntax definition folding ranges configuration for the JSON definitions.
Cleaned up a little bit some languages, added folding ranges to several of them.
2025-04-06 15:43:55 -03:00
Martín Lucas Golini
9c36b957c9 Use TextHints flags in all code (remove DrawHints and similar).
Various minor changes in language definitions.
Added Squirrel syntax highlighting (SpartanJ/ecode#395).
2025-04-06 02:14:11 -03:00
Martín Lucas Golini
0dd9ee141b Fix Modula-2 and 3 syntax definitions (both languages are case-sensitive).
Fix project settings focus.
2025-04-05 17:47:18 -03:00
Martín Lucas Golini
6a3b58edc2 Allow to lock conversations in history (to not be deleted when deleting in mass).
Allow to delete files older than N number of days.
Improved the key bindings in chat ui editors.
Improved C3 syntax highlighting.
Try no to change the current tab when closing the other splitter.
2025-04-04 21:59:09 -03:00
Martín Lucas Golini
da85af1246 Added C3 syntax highlighting and LSP support.
Refactored TextUndoStack, now uses std::variant and avoids heap allocating each command.
Fix possible crash in Process::readAll.
Fix SyntaxDefinition::setSymbols.
Some minor improvements for Odin and Ü syntax definitions.
Fix Git plugin silent configuration.
2025-04-04 01:48:39 -03:00
Martín Lucas Golini
8c131b2487 Rename flow to flow9 to avoid confusions (there are other languages called flow). 2025-04-02 21:06:51 -03:00
Martín Lucas Golini
2a88bac8a1 Performance improvements due to not debouncing some function calls.
Adjust JSX and TS syntax definitions.
2025-04-02 20:24:45 -03:00
Martín Lucas Golini
1a6d87d347 Ups. 2025-03-31 20:10:22 -03:00
Martín Lucas Golini
2c6a68df7b Fix windows build. 2025-03-31 19:26:36 -03:00
Martín Lucas Golini
67a86c3c05 Process class fix a dead-lock.
Compile with C++20 (compilation might fail on some systems, let's see the CI).
Fixed V1 syntax highlighting.
2025-03-31 18:52:42 -03:00
Curculigo
70861e98b9 "Ü" programming language syntax highlighting (#101)
* "Ü" programming language

* Update languagessyntaxhighlighting.cpp

* Update ecode.cpp

* Update u.cpp

* Update u.cpp

* Update u.cpp

* Update u.cpp

* Update u.cpp

---------

Co-authored-by: Martín Lucas Golini <spartanj@gmail.com>
2025-03-31 17:26:03 -03:00
Martín Lucas Golini
f1bc6bfc98 Add Common Lisp syntax highlighting. 2025-03-31 01:14:09 -03:00
Martín Lucas Golini
5eaa2adf9b Fix modula2 and 3 definitions. 2025-03-31 00:07:11 -03:00
Curculigo
10a2a9c688 modula2 & modula3 (#100)
* modula2

* modula2

* modula3

* Update languagessyntaxhighlighting.cpp

* Update ecode.cpp

* Update modula2.cpp

* Update modula3.cpp
2025-03-30 23:58:55 -03:00
Martín Lucas Golini
e07546a802 Added more options for parsers. 2025-03-30 21:20:09 -03:00
Martín Lucas Golini
5823105b17 Use "symbol" instead of "normal" for fallback, new tokenizer changes require it. 2025-03-30 17:35:19 -03:00
Curculigo
4cd3367ecf Add CovScript (#99)
* Add CovScript

* Add CovScript

* Add CovScript

* Update covscript.hpp

* Update covscript.cpp

* Update covscript.cpp

* clang-format files.

---------

Co-authored-by: Martín Lucas Golini <spartanj@gmail.com>
2025-03-30 11:55:00 -03:00
Martín Lucas Golini
844f550053 Added flow language syntax highlighting (SpartanJ/ecode#406).
Fixed project search path filters.
2025-03-29 22:07:15 -03:00
Martín Lucas Golini
0ed85dc407 Update language definitions with some of the latest changes (remove auto-injected rules).
Allow search in chat input.
2025-03-29 18:49:12 -03:00
Martín Lucas Golini
f721ef92df Added a new tokenization method for the SyntaxTokenizer based on customized parsers. Initially is being used to parse numbers in C, C++ and JavaScript/TypeScript. This method is much more flexible and can be much faster than regex or lua patterns.
Improvets in AI Assistant.
Fix regression in size calculation of a UIAbstractTableView.
Fix in project search path filters.
2025-03-28 02:15:20 -03:00
Martín Lucas Golini
8ac5e1e2e8 Refactor in SyntaxDefinition and related classes.
Minor improvements in CPP, CSS, xit syntax highlighting.
AI Assistant / LLM Chat now can restore previous opened chats and states (last model used, panel split), can have private conversations, can clone a previous conversation, plus some visual improvements.
Fixed a bug in tab widget splitting.
2025-03-26 23:55:29 -03:00
Martín Lucas Golini
d0d4231df9 Improve Rave syntax highlighting (SpartanJ/ecode#399). 2025-03-25 12:54:03 -03:00
Curculigo
f4d035d00d Update rave.cpp 2025-03-25 13:36:56 +07:00
Martín Lucas Golini
8c04daae02 Merge branch 'develop' into v1 2025-03-25 01:23:32 -03:00
Martín Lucas Golini
5c0b82df69 Fix for Adept preprocessor macros (SpartanJ/ecode#412). 2025-03-25 01:17:07 -03:00