Commit Graph

165 Commits

Author SHA1 Message Date
2e84ad9fc1 Moved code preview; fixrf plugin code context 2026-02-26 01:11:56 -06:00
a2b8232d5e refactor: remove InfoBarWidget in favor of plugin-based one
- Replace direct InfoBarWidget with set_info_labels command that emits
  events to plugins
- Replace mini view widget in favor of plugin-based one
- Add widget registry exposure for code-container and editors-container
- Fix DND mixin exec_with_args call (tuple args issue)
- Add break statements in tabs_widget loops for efficiency
- Add _update_transparency call to BaseContainer
2026-02-25 23:26:12 -06:00
0b3579d485 Fixed main thread closure issue caused by async.run 2026-02-25 01:04:09 -06:00
ec571ffa90 Added ability to toggle view visibility. 2026-02-25 00:43:37 -06:00
3b205e28e6 Refactor source view states to use base class and fix open-files start path
- Add SourceViewsBaseState inheritance to Command, Insert, MultiInsert, and ReadOnly states
- Extract common focus_in_event logic to base class
- Fix open-files command to use current file's directory as file picker start path
- Extract modifier key state logic into reusable get_modkeys_states() method
- Pass modifier keys to command exec_with_args in key_press_event
- Add type hints to key_mapper methods
2026-02-24 23:32:29 -06:00
24bf1e471b refactor(command-system): standardize command execution with *args/**kwargs
- Refactor exec_with_args to use *args/**kwargs instead of tuple arguments
- Add *args/**kwargs to all command execute functions for consistency
- Support multiple key bindings per command in registration
- Add character-based key binding support via get_char() in KeyMapper
- Make execute_plugin async and use asyncio.run for plugin execution
- Use MIME type from Gio content_type instead of language for ftype
2026-02-24 22:30:07 -06:00
824dd93696 Add file deletion detection, WebKit improvements, and bug fixes
- Add FileExternallyDeletedEvent with UI indicator in tabs for deleted files
- Set minimum height (300px) for editors container
- Add Developer Tools to WebKit context menu
- Fix DnD URI handling when uris list is empty
- Fix buffer replacement using freeze_notify and proper bounds handling
- Move webkit_ui_settings to new path
- Remove <change_me> placeholders from APP_NAME and user config
2026-02-23 00:48:09 -06:00
7c7e88aaed Code cleanp scan through 2026-02-22 21:55:31 -06:00
67300bc180 Add debounced text change handling and modified file indicator for tabs
- Debounce word completer refresh with 1500ms timeout to reduce overhead
- Add visual indicator (file-changed class) for modified files in tabs
- Refactor buffer switching into signal_mapper for DRY code
- Fix handler ID indices after adding _after_changed signal
- Move set_modified(False) after successful file write in save()
2026-02-22 18:20:29 -06:00
55d2d99d68 refactor: use Pango for font scaling instead of CSS classes
- Replace CSS-based zoom (px1-px99 classes) with Pango.FontDescription
- Fix bug in multi-insert: insert at start_itr instead of end_itr
- Add Pango-based font setup for mini-view widget
- Revamp stylesheet with Light Blue-Grey Glass theme
2026-02-21 00:38:31 -06:00
eb9e124df5 Refactor code completion, container layouts, and webkit settings
- Renamed alt_provider.py file under words completer
- Improve word completion matching logic with character validation
- Change container orientations (header→vertical, left/right→horizontal)
- Add separators to all container edges
- Refactor webkit UI loading into separate load_url/load_context_base_path methods
- Add comprehensive webkit browser-like settings
2026-02-20 00:15:53 -06:00
6714053776 Moved plugins and refactor command system
- Moved plugins to apropriate sub folders
- Refactor command system with new add_command method and rename GetCommandSystemEvent to GetNewCommandSystemEvent
- Add RegisterCommandEvent for dynamic command registration
- Change footer container orientation to VERTICAL
- Add search-highlight tag to source buffer
- Add file change detection (deleted, externally modified) in source_file
- Add JSON prettify option to source view popup menu
- Enable hexpand on VTE widget
- Update plugins_controller_mixin to use widget_registry
2026-02-18 23:47:19 -06:00
69c8418a72 Load files from IPC to code view; fixed tabs close all; corrected app.py logging 2026-02-17 01:52:29 -06:00
d4dc972c6d Aded context menu to tabs widget; registered other widgets to registery 2026-02-16 23:52:03 -06:00
6c42ff7c7d Made words completer run async on load and update; swapped out tabs to use Gtk.Notebook 2026-02-16 17:11:30 -06:00
b922415f98 Moved completers to new dir; improved completers and added word completion 2026-02-16 01:39:23 -06:00
5273c58ed6 Major completion provider overhaul; pluigin load and pattern improvements; css overhaul/cleanup; source view state modes added 2026-02-14 16:15:54 -06:00
4ce4d85842 removed endpoint_registery; relocated builder_wrapper to be widget_registery under libs/ 2026-01-19 13:57:44 -06:00
c6b10ceb17 defaulting to buffer if language not detected 2026-01-19 00:29:10 -06:00
a036dc428b Wiring plugins to controller messages; importing plugin controller to code base; fixed VTE widget adding to bash history 2026-01-18 22:39:52 -06:00
b8ce6e160a Pligins refactor with new context and controller integration 2026-01-18 20:36:17 -06:00
e2f29207ba Preliminary controller layout work for plugin integration; controller base message refactor naming 2026-01-18 13:53:29 -06:00
99f1bffefb Restructuring controller to broaden usability; changed events logic to support that 2026-01-18 00:52:54 -06:00
f7d944f7a9 Created libs.code package and moved pertinant DTOs to it as well as widget.code that can go there too 2026-01-13 11:23:26 -06:00
4469e8189f Improved folder structure for commamd system and controllers 2026-01-13 00:43:51 -06:00
a507469bf8 Added controller manager registery guard; localized event type access for code to event factory 2026-01-12 23:59:13 -06:00
a07123d165 fix singleton typeing and __init__ 2026-01-12 23:34:34 -06:00
00c72a7117 Fixed code view close_file command 2026-01-12 00:15:43 -06:00
f8d73ad74a Fixed code view expansion issues; fixed pre/post code view key mappings not sinking Gtk signals properly 2026-01-12 00:07:44 -06:00
04e0c3caf6 Moved to using event_factory and referencing types from it 2026-01-11 22:44:03 -06:00
a57bfd94fc Created helpers file for commands to reduce duplication 2026-01-11 18:30:51 -06:00
c2060963cc Full 'code' widget refactor to utilize controllers and cross controller event signaling 2026-01-11 18:01:30 -06:00
8253e250d8 fixed pyright pathing; exception typo; and path manager arg typo 2026-01-04 13:27:22 -06:00
be608f645e Added suppression of some errors we don't care about 2026-01-04 00:15:36 -06:00
356da04f46 Improved some exception handling 2026-01-04 00:04:38 -06:00
48182f9775 Created a settings > path_manager class and cleaned up srtting manager class 2026-01-03 23:28:14 -06:00
90b2f050c6 Improved base pligin implementation 2026-01-03 21:57:37 -06:00
79375d34b1 Added undo, redo, go-to, and duplicate lines commands; updated styles for line highlight color; cleanup 2025-12-29 02:20:55 -06:00
5ee587e205 Added temp cut/paste buffer commands; added zoom in/out commands; fixed tab closures leaking memory 2025-12-29 00:46:10 -06:00
3fc39042f1 Wired tabs close and selection; improved files manager next index checking; code event focus ignore attrib added 2025-12-28 22:44:44 -06:00
e18be655e8 Code Widget refactor; observable refactor 2025-12-28 19:53:05 -06:00
12ada8568e Added code load start files command; improved show logic for code widget 2025-12-24 22:31:41 -06:00
4c179974c0 Added dnd commands; moved source view events to mixin; improved/separated pop logic for files manager; added observer pattern for active file for buffer 2025-12-20 01:10:53 -06:00
6acbcb53c2 Moving settings out of global space; added editor commands and wired them 2025-12-16 20:25:24 -06:00
ce22ed6a53 Updated code key bindings 2025-12-15 22:55:55 -06:00
c16493037d Added more commands to code; refactored container classes; general cleanup 2025-12-15 22:50:28 -06:00
849e7611ca Added code view widget and base command system; updated keybinding system 2025-12-14 03:20:03 -06:00
2c453bc621 Fixed IPC issues with passing paths back to instance 2025-12-10 20:09:32 -06:00
530fe7c3ab Updated jeybinding and restructured css 2025-11-30 19:51:04 -06:00
5e5cc50ba8 Fixed empty vte commit error 2025-11-30 00:59:37 -06:00