| Age | Commit message (Collapse) | Author |
|
* fix(treeview): avoid crashing if creating a new file errors out
* refactor(treeview): no need to write to a new file
|
|
* Fix wrong suggestion when creating file in treeview
* Fix wrong suggestion when creating folder in treeview
---------
Co-authored-by: yahallo1 <yahallo1@mailbox.org>
|
|
* Simplified context menu; at this point, we don't really need to split it between plugin and main, and we should use the command system if possible.
* Streamlined language.
* Unified predicates.
* Fixed up some minor issues.
* Readded this menu bind.
* Ensured that context menu command works even without x and y.
* Cleaned up treeview rework, and incoporated Guldo's comments.
* Allowed for positional context menu override.
* Additional documentation.
* Implemented Guldo's suggestions.
* Removed trailing space.
* Removed unecessary requires.
|
|
logs. (#1929)
Fixed small bug with saving workspaces on project change.
Revert "Removed storage module."
This reverts commit 0bb8d7ec052f2d6412b7ee3459dfb75a694f7ad0.
Revert "Typo."
This reverts commit 283b0ae49274788081e6bf447d5fdb55bc0cb6f1.
|
|
* Revert "Removed storage module."
This reverts commit 0bb8d7ec052f2d6412b7ee3459dfb75a694f7ad0.
Revert "Typo."
This reverts commit 283b0ae49274788081e6bf447d5fdb55bc0cb6f1.
Initial commit.
Moved around plugin initialization.
Fixing restarting when changing projects.
Added in autorestart plugin.
Moved screensaver call to after video subsystem init.
Fixed minor issue.
Missing extension.
Kept initailization of previous_find and previous_replace.
Allowed priority regex to take a decimal place.
Fixed priority regex.
Fixed version mismatch error.
Removed hints.
Whoops.
Reverting things.
Fixed up warnings.
* Removed if statements as we're on SDL3.
* updated to SDL3.
* Changed initialization styles to SDL3.
* Removed unecessary dofile.
* Ensured that we can always read files, even binary ones.
|
|
* Made findfile update suggestions as more results come in.
* To make the Guldo happy.
* Ensures that we don't update a commandview we don't own.
* Grumble.
* Refined scroing, and made it so things don't jump around on empty string.
* Updated scoring algorithm.
* Added in ability for commandview to preserve the suggestion index.
* Added in ability to preserve things, and made sure that we zero out a thread if it's dead.
* Clarity.
* Made interval make more sense.
* Ensured that core.visited_files is involved.
* Added in comments and changed the maximum amount of time we can spend in a loop.
* Removed unecessary variable.
* Keeps tracks of last user action on the commandview.
* Reworked to avoid needing to specify preserve.
* Updated constants.
* Updated to record the user's last supplied text, and then use it when we're grepping through suggestions.
* Typo.
* Implementing Guldo's changes.
|
|
|
|
new-folder and new-file from working correctly.
|
|
* language_cpp: add back digit separators
* language_cpp: rewrite number matching in regex
* language_c: port digit separators over from language_cpp
|
|
* added a stupid __tostring to every object
* moved every __tostring to just after the :extend() call
---------
Co-authored-by: Adam <adamdharrison@gmail.com>
|
|
* Initial commit to clean up projects; spun off find-file to its own plugin, removed project limit, removed the concept of a project maintaining an ordered list of files, and allowed treeview to see things like hidden files and files not actually in the project.
Normalizing things, fixed typo.
Abstracted root project, and made things more in line with current master behaviour.
Removed unused legacy code, as well as ensured that we use absolute paths.
Fixed issue with backslahes on linux, will look at windows at some point.
Removed stray print.
Removed orphaned function.
Removed extraneous command.
Fixed the ability to close project folders.
Removed superceded function.
Applied jgm's suggestions.
* Bump modversion.
* Bumped modversion and changed a few minor things.
* Added in handling of ignored files.
* Fixed small issue.
* Fixed issue with absolute arguments.
* Removed home encoding; may revert this if I can find out why it was done.
* Fixed minor issue with file suggestions.
* Cleaned up treeview.
* Typo.
* Added in visible.
* Ensured that the appropriate project module is loaded.
* Fixed improper rebase.
* Abstracted out the storage system of the workspace plugin so other plugins can use it.
* Fixed double return.
* Fixed functional issue.
* Added documentation.
* Sumenko reports duplicate function definitions, unsure why.
* Fixed minor bug with workspace.
* Fixed switching projects on restart.
* Harmonized spacing around asserts, and fixed an issue forgetting to set has_restarted.
* Made project an object.
* Removing unecessary yields.
* Removed unecessary fallback.
* Removed unecessary line.
* Reveted backslash handling, as it doesn't seem to make any difference.
* Spacing.
* Only stonks.
* Removed uneeded error handling.
* Added in function to determine project by path, and added in deprecation warnings for legacy interface.
* Removed storage module.
* Typo.
* Changed to use deprecation log instead of regular warn so as to not spam logs.
* Fixed small bug with saving workspaces on project change.
* Update data/core/init.lua
---------
|
|
* Update css plugin to support more units
* Fixed spacing.
---------
Co-authored-by: Adam Harrison <adamdharrison@gmail.com>
|
|
This reverts commit e4ceefe50a143006c21fc6d4b076263fa4450d28.
|
|
* check item type before creating input text
* Update data/plugins/treeview.lua
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com>
* Update data/plugins/treeview.lua
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com>
---------
Co-authored-by: FloppyDisco <joshuapaulpiasecki@gmail.com>
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com>
|
|
* abstracted new_file and new_folder
* check for both slashes when creating new folder
---------
Co-authored-by: FloppyDisco <joshuapaulpiasecki@gmail.com>
|
|
* improve projectsearch
- stick status to top of view
- add horizontal scrolling
- added ellipsis at the end of the text if it's too long
* Reverted removal of 0 on yield.
---------
Co-authored-by: Adam Harrison <adamdharrison@gmail.com>
|
|
It caused a lot of useless `system.absolute_path` calls.
|
|
|
|
|
|
This is needed because we use `mtime` to determine if a file has actually changed, but on most systems this has a resolution of 1 second (and we truncate it to an integer anyways).
Without this wait, we would skip reloading a file that has been changed multiple times in the same `mtime` second, thus losing some data.
|
|
|
|
* Update language_python.lua
* Update language_python.lua
* Update language_python.lua
* implemented a better `python_type` subsyntax
* Update language_python.lua
* fixed a small error where you couldn't hint a type at a var and guive it a value at the same time
* Update language_python.lua
* Update language_python.lua
Dictionaries appear now normally
* Update language_python.lua
* added suggestions concerning strings
* commited suggestion
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
* Various changes
* Update language_python.lua
Syntax more optimized but a tiny bit more complex...
* Simplified everything
---------
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
|
|
|
|
|
|
* improve number highlighting for c
* add unsigned suffix
* add long suffixes
* reorder octal literals and add suffix for hex numbers
* fix integer and float suffixes
too many characters, send help
|
|
The C++20 keyword is spelled `co_await`.
|
|
|
|
comments (#1744)
* Avoid starting regexes only after numbers in `language_js`
* Allow starting `/*` comments after numbers in `language_js`
|
|
|
|
|
|
* Make command palette item scrolling more natural
Also add a config option for the maximum number of visible entries in the command palette.
* Make `autocomplete` item scrolling more natural
|
|
* Improve `autocomplete` suggestions box sizing
This avoids that the box gets too big because of non-visible items, and makes it reactive to window sizing.
* Draw ellipsis when `autocomplete` entries aren't fully visible
|
|
|
|
|
|
|
|
* Improve number highlighting for python syntax highlighting
Adds support for octal and binary representation, as well uppercase characters (X, B and O)
* add underscore and negative hex/oct/bin value support
* Removed | from pattern
|
|
|
|
* Delay setting font for custom `language_md` token types
* Improve font/color change detection in `language_md`
|
|
* Fix `language_js` regex constant detection
* Simplify regex constant detection in `language_js`
* Add more possessive quantifiers in `language_js` regex constant detection
This avoids more catastrophic backtracking cases.
* Allow `.` after regex constant in `language_js`
|
|
* Use `PATHSEP` in path-related functions
* Don't stop on digits when getting the common part in `system.path_compare`
* Avoid sorting multiple times in `dirwatch.get_directory_files`
This also fixes the timeout detection in `recurse_pred`.
|
|
|
|
* Save in the `workspace` unsaved named files
* Save in the `workspace` the `crlf` status and restore it for "new" files
|
|
This avoids reflowing the text when hovering the scrollbar.
|
|
|
|
* Add icons support to autocomplete plugin
* Removed redundant flag check
* Added support for non syntax colors
* Assert if color name not in style.syntax
* Autocomplete plugin improvements
* Support suggestion symbols scoping
- global: all open documents
- local: current document
- related: all open documents with same syntax
- none: language syntax symbols only
* Register style.syntax[] entries as icons
* Other related fixes
|
|
|
|
We weren't correctly garbage-collecting `Doc`s, so we had `Highlighter`s
stay alive over their due time.
|
|
* Add mouse grab
We now also send mouse movement events only to the interested view.
* Add deprecation messages handler
* Make various `View`s respect `on_mouse_left`
* `StatusView`
* `TitleView`
* `TreeView`
* `ToolbarView`
* Fix scrollbar in `TreeView` not updating
We were in some cases sending outdated mouse positions to the scrollbar,
which made it think that the mouse was hovering it.
This also updates the hovered item more responsively during scroll.
|
|
* Move lineguide below blinking cursor, fixes #1488
* Added config_spec custom color
|
|
* The comment patterns had to come before the string ones
* The smallest indentation size is now taken into consideration even if
it only occurs once, we just make sure its size is more than 1 space.
|