aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)Author
2022-09-24Y'know, it's occasionally good to actually test things.cpath-changesAdam
2022-09-23Added in ability to have `init.so` as a require for cpath.Adam
2022-09-18Added in native modules suffixes. (#1111)Adam
* Added in native modules with suffixes, giving priority to those with matching architectures and platforms. * PowerPC isn't x86, and it's x86_64. * Changed things over to allow compiler to set a tuple, makes more sense from a build perspective. * Spelling mistake. * Added in arm target tuples.
2022-09-16core: remapped core:restart to `ctrl+alt+r`jgmdev
Commonly `ctrl+shift+r` is used in most editors for find and replace operations, also the regexreplacepreview.lua plugin makes a more appropriate use of this binding.
2022-09-15contextmenu: resize on scale changes (#1117)Jefferson González
2022-09-15plugin scale: added option to set default scale (#1115)Jefferson González
2022-09-14Added in simple directory search to treeview. (#1110)Adam
2022-09-13Strictly limit find/replace commands to `core.docview` (#1108)Guldoman
Without this, find/replace commands applied to the `CommandView` too, with buggy results.
2022-09-12autocomplete: properly replace current partial symboljgmdev
2022-08-21Make predicate for some `TreeView` commands stricterGuldoman
This avoids performing the `treeview:new-folder` command on ctrl + double click. This happens because `ctrl+lclick` (which is the keybinding for `treeview:new-folder`) is triggered also by ctrl + double click, which isn't captured by anything else.
2022-08-20Added a smoothing and strikethrough option to font loading. (#1087)Aqil Contractor
* Added a smoothing option to font loading. * Added a font strikethrough option to font loading. * Fixed underline applying incorrectly in cases of non-underlined fallback fonts being used. Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2022-08-17Merge pull request #1100 from Guldoman/PR_fix_path_suggestJefferson González
Remove dot slash from suggested paths in `common.path_suggest`
2022-08-16Merge pull request #1098 from Guldoman/PR_command_predicate_paramsJefferson González
Allow command predicates to manage parameters, allow overwriting commands
2022-08-17Be more lenient with appending `PATHSEP` in `common.path_suggest` in WindowsGuldoman
This allows to use the Unix separator without resulting in ugly suggestions that added the Windows separator too. For example: Before: `data/` -> `data/\core\` After: `data/` -> `data/core\`
2022-08-16Remove final `PATHSEP` in `common.normalize_volume`Guldoman
2022-08-16Add `PATHSEP` before listing the directory in `common.path_suggest`Guldoman
Before, in Windows, listing `.` instead of `.\` resulted in unexpected results.
2022-08-16Replace `assert` with `core.log_quiet` on command replaceGuldoman
This caused issues when saving the user module with commands defined inside it, as it resulted in the user-defined commands trying to overwrite themselves and failing.
2022-08-16Add predicate memoization to `command.get_all_valid`Guldoman
2022-08-16Use `Object:is` instead of direct metatable comparison in `autocomplete`Guldoman
2022-08-16Allow command predicates to manage parameters passed to the commandsGuldoman
When a command is performed with parameters, those are now passed to the predicate. The predicate can then return, after the validity boolean, any other value that will then be passed to the actual command. If the predicate only returns the validity boolean, the original parameters are passed through to the actual command. This allows predicates to manipulate the received parameters, and allows them to pass the result of an expensive computation to the actual command, which won't have to recalculate it. String and table predicates will now also return `core.active_view`.
2022-08-16language_python: add syntax support for async/awaitBen Larisch
2022-08-16Remove dot slash from suggested paths in `common.path_suggest`Guldoman
When no `root` is specified and the initial `path` is empty, the initial `path` becomes `.`. This results in returned files/dirs that are prepended with `./`. Now, in that case, `./` is removed.
2022-08-09Steps to generalize toolbar and treeview. (#1088)Adam
2022-08-03Clear default Lua require path (#1085)Guldoman
This is mainly done to avoid requiring from the current working directory of the editor. This also avoids requiring from system paths, as it was already the case for the native modules search path.
2022-07-22Fix "hard" indent column info on status view. (#1078)ian`
* Fix "hard" indent column info on status view. * Update tabs calculation and add "byte" number info * Add config.show_char_byte_info * Add show char byte toggle command. it should be added on the commands/statusbar.lua, but there is no config module loaded before and i won't to add it. * Update config.lua * Update statusview.lua
2022-07-17Merge pull request #1080 from jgmdev/PR/fix-commandview-caretJefferson González
CommandView: do not change caret size with config.line_height
2022-07-15CommandView: do not change caret size with config.line_heightjgmdev
2022-07-15Add font style options in user modulecisoun
2022-07-15`drawwhitespace`: Invalidate cache on indent size changeGuldoman
2022-07-13Merge pull request #1070 from Guldoman/PR_get_selections_swap_returnJefferson González
Make `Doc:get_selection[s]` return if the selection was actually sorted
2022-07-13`language_python`: Add new patterns (#1074)Cyriaque Skrapits
* `language_python`: Add new patterns This commit provides: - multiline comments support; - unicode string symbol highlighting; - class names as keyword2.
2022-07-13Merge pull request #1073 from ncarrezdev/ncarrezdev/synxtax-correctionsGuldoman
[chore]: Update syntax
2022-07-13[chore]: Delete useless $NCarrezDev
follow up on Guldoman's comment
2022-07-13Make `StatusView:add_item` accept a tableGuldoman
2022-07-11Don't wrap around if there are no suggestions in `CommandView`Guldoman
2022-07-11Make `Doc:get_selection[s]` return if the selection was actually sortedGuldoman
2022-07-06[chore]: Update syntaxNCarrezDev
Harmonizing the syntax files Now inline comment are a single string instead of a table of strings. -(language_c): Removed whitespaces breaking indent -(language_html): Removed trailing whitespace
2022-07-05Merge pull request #1065 from Guldoman/PR_log_sizeJefferson González
Increase `config.max_log_items`, add a scrollbar and optimize `LogView`
2022-07-05Merge pull request #1064 from Guldoman/PR_md_single_mathJefferson González
`language_md`: Limit inline math mode to the current line
2022-07-05Merge pull request #1062 from Guldoman/PR_fix_logview_on_errorJefferson González
Fix opening `LogView` when reloading customizations
2022-07-05Merge pull request #1060 from Guldoman/PR_drag_whitespace_newlineJefferson González
On `doc:newline` remove line content if it contains only whitespace
2022-07-05Merge pull request #1059 from Guldoman/PR_no_indent_empty_linesJefferson González
Don't indent empty lines in a selection
2022-07-03language_python: add syntax support for match-case statementBen Larisch
2022-07-01`LogView`: Show scrollbarGuldoman
2022-07-01Increase default maximum number of log itemsGuldoman
The low number in some cases resulted in hidden errors.
2022-07-01`LogView`: Don't draw invisible itemsGuldoman
2022-06-29`autocomplete`: Fix "Too many symbols" message when `Doc` has no nameGuldoman
Before, when a `Doc` had no name, an error was thrown.
2022-06-28`language_md`: Limit inline math mode to the current lineGuldoman
2022-06-28Fix opening `LogView` when reloading customizationsGuldoman
As `reload_customizations` was called during save operations, opening the `LogView` changed `core.active_view` which caused some errors to be thrown.
2022-06-25On `doc:newline` remove line content if it contains only whitespaceGuldoman