Commit Graph

22 Commits

Author SHA1 Message Date
22abc02d25 Created more events to use; restructured plugin listing 2026-03-01 15:11:34 -06:00
8ee2106f50 Refactor plugin event API: rename message* to emit* and requests_ui_element to request_ui_element 2026-02-28 19:48:04 -06:00
1447a68fb0 Refactor controller architecture and multi-insert state
- Rename ControllerContext to ControllerMessageBus for clarity
- Switch ControllerBase to use SingletonRaised
- Replace MarkEventsMixin with MarkerManager for multi-cursor editing
- Add populate_popup event support for source view context menus
- Remove unused swap file events
- Moved JSON prettify feature to plugin
- Fix event name: "removed_file" -> "remove_file"
2026-02-28 01:10:28 -06:00
b724d41f6c Remove tabs UI from code editor and move to plugin. Enhance plugin system.
- Remove tabs controller, tab widget, and tabs widget files and move to plugin
- Delete plugins/README.txt
- Add register_controller method to controller system for plugin use
- Add error handling for plugin crashes via futures callback
2026-02-26 21:09:14 -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
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
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
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
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
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
90b2f050c6 Improved base pligin implementation 2026-01-03 21:57:37 -06:00
62debf9ece extending plugins to load pre or post app start 2024-06-29 21:24:57 -05:00
43d0881a36 Plugin inferastructure work/fixes 2023-10-10 22:33:28 -05:00
b8306a9c4d Import cleanup 2023-01-29 00:06:52 -06:00
e427cddec9 Refactored to reduce Glade dependency... 2022-10-13 20:58:44 -05:00
e1c42d9839 Updates, additions, minor improvements 2022-09-05 18:01:39 -05:00
1e2fe89126 Converted to use unix socket 2022-03-03 01:31:48 -06:00