Commit Graph

183 Commits

Author SHA1 Message Date
Martín Lucas Golini
54aaeb4931 Spell-checked the whole project. 2025-08-22 01:33:51 -03:00
Martín Lucas Golini
4b4a5f3491 More work on the Spell-Checker (SpartanJ/ecode#515).
Spell-Checked a lot of code.
2025-08-21 01:43:42 -03:00
Martín Lucas Golini
8f3911b3a3 Implement a visual feedback when a loaded text document buffer is deleted on disk. Tab text will be strike-through and with error color. Issue SpartanJ/ecode#608. 2025-08-19 01:09:56 -03:00
Martín Lucas Golini
872c8b50ff Added block-comments support to most of the languages (SpartanJ/ecode#604). 2025-08-19 00:27:06 -03:00
Martín Lucas Golini
4730c4f183 Implemented toggle-block-comment command (SpartanJ/ecode#604).
Added M4 syntax highlighting (SpartanJ/ecode#564).
2025-08-18 23:33:47 -03:00
Martín Lucas Golini
dbb36cdcf4 Fix Objective-C highlighter.
Added Objective-C++ highlighter (SpartanJ/ecode#616).
Replaced "Treat .h file as C++" in favor of "Treat .h files as..." with multiple options, including auto-detection (SpartanJ/ecode#614).
Refresh semantic-highlighting after syntax highlighter change.
2025-08-17 16:56:12 -03:00
Martín Lucas Golini
cb9f6420ba Add .clangd file name as YAML. 2025-08-17 00:31:17 -03:00
Martín Lucas Golini
62bfcf29c3 Greatly improve debugging session stability.
Handle some more sequences in TerminalEmulator.
Update SOIL2.
2025-08-15 02:55:12 -03:00
Martín Lucas Golini
0ec2a4dba9 Try fix invalid memory access in SyntaxDefinitions.
Added attach in Chat UI.
Some minor improvements in Http pool implementation.
2025-08-12 00:49:13 -03:00
Clemens Schmid
e5bd1dc3e1 added curry language definition for syntax highlighting (#138)
* added curry language definition for syntax highlighting

* fixed comment syntax definition for Haskell, Elm, and Curry
2025-08-06 14:19:58 -03:00
Martín Lucas Golini
67fffe0db0 Add a couple of Elena keywords. 2025-07-28 13:09:26 -03:00
Martín Lucas Golini
bd278843e6 Update plugin versions.
Registered `.cts` extension as TypeScript.
2025-07-19 19:55:34 -03:00
Martín Lucas Golini
7bbc6bf8c0 Fixed a bug in the syntax tokenizer.
Added koka syntax highlighting (SpartanJ/ecode#451).
2025-07-16 01:13:35 -03:00
Martín Lucas Golini
f4a58fd585 Do not trigger documentHover if server capabilities do not provide hover.
Fix in TypeScript pre-definition.
2025-07-14 01:00:03 -03:00
Martín Lucas Golini
d0e0046236 Added IDL syntax highlighting (SpartanJ/ecode#550).
Minor fixi n patternToCPP.
2025-07-13 20:41:27 -03:00
Martín Lucas Golini
8a8384ca59 Added Nix (SpartanJ/ecode#581) and Scheme support(SpartanJ/ecode#582). 2025-07-13 16:57:03 -03:00
Martín Lucas Golini
23f90967c7 Fix some TypeScript React issues I introduced with the syntaxes pre-definitions.
Improved tokenizer performance, reduced heap allocations to the very minimum possible (lua patterns now can be flagged as anchored).
2025-07-12 13:47:42 -03:00
Martín Lucas Golini
93872867d5 Fix in UIMenuBar (reverted back a recent change). 2025-07-11 18:14:42 -03:00
Martín Lucas Golini
fa5aa4d006 Add Qbs syntax highlighting (SpartanJ/ecode#553).
Add the possibility from inherit patterns and repositories from other syntax definition.
2025-07-11 01:02:46 -03:00
Martín Lucas Golini
ec4f122519 Register more makefiles extensions (SpartanJ/ecode#578).
Some minor nits in LSP.
2025-07-10 22:55:25 -03:00
Martín Lucas Golini
fc43180851 Added RPM Spec syntax highlight (SpartanJ/ecode#566).
Registered systemd timer extension as ini files (SpartanJ/ecode#572).
2025-07-09 23:48:30 -03:00
Martín Lucas Golini
a4deb66c2a Added pkg-config syntax highlighting (SpartanJ/ecode#563).
Register `.h.in` and `.c.in` extensions (SpartanJ/ecode#567).
Slight refactor for Repositories, now it will hold a SyntaxRespository struct (to easily extend it in the future).
2025-07-08 20:30:43 -03:00
Martín Lucas Golini
de79a79e2a Add CMakeCache.txt syntax highlighting (SpartanJ/ecode#562).
Register .dlg extension (SpartanJ/ecode#521).
2025-07-08 00:11:37 -03:00
Martín Lucas Golini
179e74a7c5 Add GN (SpartanJ/ecode#554) and QMake syntax highlighting (SpartanJ/ecode#661). Then also registered some file extensions (SpartanJ/ecode#552, SpartanJ/ecode#555, SpartanJ/ecode#556, SpartanJ/ecode#557, SpartanJ/ecode#521). 2025-07-07 20:25:28 -03:00
Martín Lucas Golini
7b5c1a2437 Registered a few requested file extensions SpartanJ/ecode#528, SpartanJ/ecode#529, SpartanJ/ecode#530).
Added MS Build Solution (sln extension, SpartanJ/ecode#527) and RC Script (rc extension, SpartanJ/ecode#521) syntax highlight support.
Minor changes in syntax definitions (now supports more than 255 repositories).
2025-06-28 12:53:08 -03:00
Martín Lucas Golini
03d2a133f4 Improved YAML syntax highlighter. 2025-06-25 01:16:10 -03:00
Martín Lucas Golini
e230ecba0d Fixed "ft" in locate bar.
Fixed a bug in the tokenizer when switching stacked sub-syntaxes.
Fixed export languages.
2025-06-24 00:42:56 -03:00
Martín Lucas Golini
03df17b96b Support setting environment to the terminal process.
WIP fixes in DAP runInTerminal and working on startDebugging.
2025-06-21 02:14:43 -03:00
Martín Lucas Golini
4ba29c3c37 Added js_regex parser. 2025-06-13 18:37:21 -03:00
Martín Lucas Golini
76c19ed90d Minor changes in CMake syntax highlighting. 2025-06-12 01:01:49 -03:00
Martín Lucas Golini
fa84a0253b Clean up some unused Font functionality. 2025-06-08 01:22:54 -03:00
Martín Lucas Golini
d375537b3f Fixes in SyntaxDefinitionManager.
Make UIProperty C++17 friendly.
Rename "arch" command line parameter for premake5 to "deps-arch" because it clashes with a new "arch" default parameter.
Fix for empty matches in SyntaxTokenizer.
Some very minor changes in language definitions.
2025-06-05 23:45:00 -03:00
Martín Lucas Golini
c156b53e4b Rename "keyword2" to "type" and "keyword3" to "parameter".
Added some String overloaded functions.
2025-06-01 20:07:23 -03:00
Martín Lucas Golini
9a8ece04d6 Adjust scissor test to current FBO coordinates. Fixes some clipping bugs when using FBOs withing UI components. 2025-06-01 01:35:05 -03:00
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