Commit Graph

339 Commits

Author SHA1 Message Date
Martín Lucas Golini
6d2bcc8dd6 Running window calls in the main thread seems to fix dead-lock issues. 2024-11-17 02:34:05 -03:00
Martín Lucas Golini
103ec3a894 Allow to abort FileSystem::filesGetInPath and FileSystem::filesInfoGetInPath.
Allow FileSystemModel root node to fetch asynchronously.
Performance improvements in FileSystemModel.
Added Model::hasChilds() to improve performance in models that need IO calls for Model::rowCount(), this is specially useful for FileSystemModel.
When opening a file from file browser focus the opened file in the file tree view.
All these fixes should allow ecode to open a single file in a directory with a large number of files and not hang the renderer thread due to root file directory fetching / listing its files in main/renderer thread, fix for SpartanJ/ecode#357.
2024-11-17 00:20:37 -03:00
Martín Lucas Golini
c7f8ef5508 Issue #83, handle EINTR correctly (?) 2024-11-13 00:56:30 -03:00
Martín Lucas Golini
cac43d0276 Display subfolder hint/info when two or more files have the same file name but different paths.
Fix an small bug where selection wasn't totally visible on lines bigger than the viewport and selection covering more than the whole viewport.
2024-10-27 21:46:24 -03:00
Martín Lucas Golini
8df0462320 Fix Open in new window when not using "Open Files in New Windows" 2024-10-23 01:28:31 -03:00
Martín Lucas Golini
2bb66d2e40 Improvements for better theming support in ecode. 2024-10-19 22:59:16 -03:00
Martín Lucas Golini
09acc6ff59 Nit. 2024-10-17 12:00:27 -03:00
Martín Lucas Golini
66c57a11e4 loadFolder lnk support. 2024-10-17 01:28:14 -03:00
Martín Lucas Golini
c29000c274 Fix possible dead-lock when calling window->restore() (SDL_RestoreWindow seems to dead-lock on Linux for no reason). 2024-10-17 00:39:32 -03:00
Martín Lucas Golini
4389c99401 Fix breadcrumb highlight.
Minor nit for lnk files.
2024-10-16 12:06:17 -03:00
Martín Lucas Golini
0f95121af9 Added windows shortcut support, solves SpartanJ/ecode#349. 2024-10-15 15:49:17 -03:00
Martín Lucas Golini
e7f4c6fa45 Change "Single Instance" to "Open Files in New Window". 2024-10-03 00:22:45 -03:00
Martín Lucas Golini
cf3ca0d82c Raise and restore window when loaded file in single-instance.
Added select-single-line command.
2024-09-29 12:19:49 -03:00
Martín Lucas Golini
20c18f0c4b Focus tab if file loaded is already opened. 2024-09-28 18:53:21 -03:00
Martín Lucas Golini
49e56f05a2 Single instance support (tested in Linux and Windows, pending the rest of the OSes, issue SpartanJ/ecode#58).
Refresh buttons state when Clear Menu is used (issue SpartanJ/ecode#339).
2024-09-28 01:01:14 -03:00
Martín Lucas Golini
f44fcf1658 A couple of nits in locator. 2024-09-25 01:19:15 -03:00
Martín Lucas Golini
f69961939b ecode: Fix issues when dropping folders and files into the application. 2024-09-17 23:58:54 -03:00
Martín Lucas Golini
5382496f08 Clean up a little bit main class App, move some code to new helper classes. 2024-09-05 00:07:31 -03:00
Martín Lucas Golini
c256818b4c Fix typo. 2024-09-02 18:07:56 -03:00
Martín Lucas Golini
2440621ede Highlight fix for comments in a few languages (SpartanJ/ecode#326).
Don't open welcome tab when documents are already opened in a new session (SpartanJ/ecode#325).
2024-09-02 17:54:47 -03:00
Martín Lucas Golini
ba860d7164 Added "create-new-welcome-tab" command. 2024-09-02 13:28:32 -03:00
Martín Lucas Golini
73a868db55 Allow to drag folder into the editor and it will load the folder (SpartanJ/ecode/314).
Flag the document as modified until saved when changing it's line ending (SpartanJ/ecode/315).
Avoid processing document symbols on huge files. Avoid matching brackets on huge files.
2024-08-29 18:20:17 -03:00
Martín Lucas Golini
43be8cb024 Minor fixes. 2024-08-27 00:32:02 -03:00
Martín Lucas Golini
e9912e7be1 eepp: Allow selecting multiple files in UIFileDialog.
ecode: Allow opening multiple files from "Open File" (SpartanJ/ecode#252).
2024-08-18 01:44:13 -03:00
Martín Lucas Golini
72a0cdbc69 Add support for DropDownList and ComboBox on UIMessageBox.
Improve displayed indent tab character settings.
2024-08-17 20:16:32 -03:00
Martín Lucas Golini
526e86b5d6 Adds support for custom tab visualization (SpartanJ/ecode#37). 2024-08-17 13:02:59 -03:00
Martín Lucas Golini
32aef45a1a Fixes in universal locator. 2024-08-04 00:44:40 -03:00
Martín Lucas Golini
7442aa42d9 File locator now displays the relative path to the open folder instead of the full path of a file.
Improve universal locator options when no folder is open (fixes SpartanJ/ecode#303).
2024-07-31 20:52:30 -03:00
Martín Lucas Golini
1283b9ee9a Don't display the playground name in window title. 2024-07-19 17:52:15 -03:00
Martín Lucas Golini
cf1fb1e26b Warn closing modified file on non-project session. 2024-07-16 23:59:06 -03:00
Martín Lucas Golini
1963753289 Alert the user if a text document buffer is from an erased file. 2024-07-16 19:08:47 -03:00
Martín Lucas Golini
81a8605e04 Rename Auto Save to Session Snapshot 2024-07-16 16:25:34 -03:00
Martín Lucas Golini
106466dc61 Finished implementing auto-save (SpartanJ/ecode#220). 2024-07-16 16:10:04 -03:00
Martín Lucas Golini
8ce9e7045b Auto-Save implementation for project files (issue SpartanJ/ecode#220). Still pending Auto-Save for non-open project environment. 2024-07-14 20:15:04 -03:00
Martín Lucas Golini
4cf4ab65eb Hide text shaper if it's not available. 2024-07-02 23:49:41 -03:00
Martín Lucas Golini
1be7884c85 Better visual indicator of modified file.
Try fix a very rare crash when loading document while starting LSP and requesting folding information.
2024-06-30 20:33:12 -03:00
Martín Lucas Golini
b4917bf604 Small micro optimizations. 2024-06-19 01:56:03 -03:00
Martín Lucas Golini
013229b4f6 More text shaping WIP and some fixes. 2024-06-16 03:30:48 -03:00
Martín Lucas Golini
cdc7013191 Fixes in ecode saveProject. 2024-06-09 14:37:37 -03:00
Martín Lucas Golini
5e6e3343a8 Move menu shift hint outside the menu. 2024-06-08 15:36:58 -03:00
Martín Lucas Golini
9a77c33a7e AutoCompletePlugin::updateDocCache is now aware of document closing
Set the tooltip on tab editor split
When changing folder update/save the last folder
Allow disabling welcome screen (SpartanJ/ecode#279).
2024-06-02 23:36:14 -03:00
Martín Lucas Golini
6832032470 Added configuration for code-folding. 2024-06-02 22:12:52 -03:00
Martín Lucas Golini
416663675b Visual improvements for folding. 2024-05-29 21:33:05 -03:00
Martín Lucas Golini
9b67a6a4e9 Minor fixes. 2024-05-15 01:32:53 -03:00
Martín Lucas Golini
2693160e94 Fix reset syntax on saved or moved doc. 2024-05-01 17:20:58 -03:00
Martín Lucas Golini
c971c16911 Added vertical menu for status build output and app output.
Fix incorrect initialization of the Git plugin model controller when loading a folder from the Welcome Screen.
2024-04-28 01:42:43 -03:00
Martín Lucas Golini
18452139ab Add build and run commnad. Fix memory leak in FileSystemModel. Fix Log stdOut flag. 2024-04-22 10:11:18 -03:00
Martín Lucas Golini
9f11c96e17 Add Application Output panel. 2024-04-20 19:59:58 -03:00
Martín Lucas Golini
517298ba34 Fix: Newly created file is not included in Recent Files (SpartanJ/ecode#260).
Fixes in UITextInputPassword.
2024-04-20 16:09:32 -03:00
Martín Lucas Golini
395a01532b Single Click Navigation in File Dialogs (SpartanJ/ecode#256). 2024-04-19 23:50:12 -03:00