PIESEL
c3ca98b4f7
Use Python syntax highlighting for Ren'Py scripts.
...
Ren'Py is a very popular Python visual novel engine, which has it's own "coding language" (even GitHub shows it as a separate language) and it's own file extension.
Generally Python syntax highlighting works for the Ren'Py language.
2021-12-20 21:47:38 +01:00
obtusedev
028043b491
Add install instructions for prebuilt binaries
2021-12-20 21:46:46 +01:00
obtusedev
1c8ab12b8f
Add install instructions for prebuilt binaries
2021-12-20 21:46:46 +01:00
Adam Harrison
e4b05e6015
Screwed up checks.
2021-12-20 21:46:22 +01:00
Adam Harrison
d2cb596740
Improved heuristic to pay more attention to string length.
2021-12-20 21:46:15 +01:00
Guldoman
ffec2d6c45
Directly link to our repo
2021-12-20 21:19:15 +01:00
Guldoman
6de08097e0
Use new color themes repo
2021-12-20 21:19:01 +01:00
Adam
16b4ec76ea
Update README.md
2021-12-20 21:18:37 +01:00
Adam Harrison
8470cafdc6
Forgot a line or two.
2021-12-20 21:18:16 +01:00
Adam Harrison
19d6a42a0b
Cleaned up links.
2021-12-20 21:17:53 +01:00
Adam Harrison
3e7ae33597
Changed operator to be more correct for utf8.
2021-12-20 21:17:35 +01:00
Adam Harrison
d237ff9c15
Added in @Jipok's comment.
2021-12-20 21:17:17 +01:00
Jipok
c7f5e92bb8
Correct definition of the pressed key for different layouts and languages
2021-12-20 21:16:43 +01:00
Jipok
21dddf34f8
Keyboard layout independent shortcuts
2021-12-20 21:16:29 +01:00
Adam Harrison
41394715aa
Added in restart keymapping.
2021-12-20 21:15:27 +01:00
Guldoman
394b72473e
Set `void` to `keyword2` in `language_c` and `language_cpp` plugins
...
Move `void` to the same syntax type used by other data types.
2021-12-20 21:11:51 +01:00
Adam Harrison
f96f788548
Also fixed statusview.
2021-12-20 21:11:02 +01:00
Adam Harrison
8fda78a77d
Removed erroneously added file.
2021-12-20 21:11:02 +01:00
Adam Harrison
436c496d77
Fixed treeview clicking not being caught.
2021-12-20 21:10:58 +01:00
Guldoman
4f079918c9
Consume unmatched character correctly
...
We must consume the whole UTF-8 character, not just a single byte.
2021-12-20 20:15:54 +01:00
Guldoman
1944f8b9e5
Split `Node` and `EmptyView` from `RootView`
2021-12-20 20:15:30 +01:00
Francesco Abbate
5b0c420270
Try to fix problem with js syntax of '/=' operator
...
The operator '/=' was wrongly considered by the js syntax file as the
beginning of a regexp literal.
With this modification we modify the pattern for regexp literals to not
match expressions starting with '/='.
This doesn't seem entirely correct because apparently javascript can accept
regexp literals starting with '/=' but the rule used by the javascript
lexer is not known.
2021-12-20 20:14:12 +01:00
Nightwing
534a822158
Improved Markdown syntax highlighter
2021-12-20 20:13:37 +01:00
Guldoman
e1d082c56c
Add name to plain text fallback syntax
2021-12-20 20:12:36 +01:00
Guldoman
a0afd077a2
Check the entire path in `TreeView` `new-file` and `new-folder` commands
2021-12-20 20:11:48 +01:00
Guldoman
718ab209f5
Check the entire path in `TreeView` predicate
2021-12-20 20:11:45 +01:00
Adam Harrison
b8bda8006b
Used basenames for ignore_files rather than full paths.
2021-12-20 20:08:45 +01:00
Francesco Abbate
5f215ccbd4
Fix logic in project's file insertion
...
The function "file_search" in core.init was sometimes giving a wrong index
value, off by one.
The problem happened for example when the entry to search was "less than"
the first entry, the function returned a value of two instead of one as
expected.
The bug was easily observed creating a new directory with a name that comes
as the first in alphabetical order within the project.
2021-12-20 20:08:10 +01:00
Guldoman
b918f248cb
Avoid drawing hidden `TreeView` items
2021-12-20 20:06:30 +01:00
Guldoman
4a05dd1683
Split `TreeView:draw` into multiple functions
...
This allows plugins to override each aspect of TreeView item drawing.
2021-12-20 20:06:29 +01:00
Guldoman
f1defe1d38
Allow `TreeView` item icon and text styling
2021-12-20 20:06:29 +01:00
Guldoman
9073301fd0
Remove changed files/dirs from `TreeView` cache
2021-12-20 20:06:29 +01:00
Joshua Minor
fb1df78464
Switched to TreeView:color_for_item(abs_path)
2021-12-20 20:06:28 +01:00
Joshua Minor
9820d5113d
Allow for color overrides in the tree view
2021-12-20 20:06:24 +01:00
Guldoman
1a7304a0ae
Adapt `detectindent` to the new indentation architecture
2021-12-20 19:53:08 +01:00
Guldoman
ebc05faf34
Use the new `Doc:get_indent_info` throughout `core`
2021-12-20 19:53:08 +01:00
Guldoman
30d1bb097f
Add `Doc:get_indent_info`
...
It returns the indentation type, size and confirmation status, used by
the `Doc`.
2021-12-20 19:53:05 +01:00
cukmekerb
9bc306eb33
JS hex BigInts and hex numeric separators
2021-12-20 19:50:18 +01:00
cukmekerb
a65ca7a2fa
add BigInt literal and numeric separators to js syntax highlighter
2021-12-20 19:50:18 +01:00
Adam Harrison
c8b2b8c205
Made varaible anonymous.
2021-12-20 19:49:41 +01:00
Adam Harrison
20f0c5ba1e
Made plugin load order deterministic.
2021-12-20 19:49:38 +01:00
Adam
43a6e21135
Merge pull request #681 from Guldoman/prepopulate_highlighter
...
Prepopulate highlighter
2021-11-23 15:38:20 -05:00
Adam
9869484ec6
Merge pull request #683 from Guldoman/named_languages
...
Add names to language plugins
2021-11-22 11:41:49 -05:00
Guldoman
23a0f6ca79
Speed up highlighter notify
...
Avoid calling `table.{insert,remove}` multiple times, as this causes
multiple shifts in the `self.lines` table.
2021-11-22 06:23:16 +01:00
Guldoman
3176b467ca
Add names to language plugins
2021-11-21 03:46:43 +01:00
Guldoman
d0a2c913f5
Pre-populate the highlighter
...
This avoids problems with calls to `[insert,remove]_notify` on lines
that the highlighter has not yet added.
2021-11-20 01:18:37 +01:00
Guldoman
f24aa64cd5
Add `soft_reset` to highlighter
...
This allows clearing the `lines` table without removing entries.
2021-11-20 01:15:13 +01:00
Adam
a7bbd3d6f7
Merge pull request #666 from Guldoman/no_restore_title
...
Restore `TitleView` only when needed
2021-11-14 15:59:26 -05:00
Guldoman
6bc4fbb238
Restore `TitleView` only when needed
...
Before, every time the user came back from fullscreen, the `TitleView`
was shown regardless of its previous status.
2021-11-09 22:21:45 +01:00
Guldoman
bcfd33a7df
Merge pull request #662 from adamharrison/suggest-directory-fix
...
Made it so that we originally start on the parent directory of the cu…
2021-11-08 01:03:59 +01:00