Commit Graph

33 Commits

Author SHA1 Message Date
6225915fda Fixed multi file ipc load speeds 2026-02-26 02:44:22 -06:00
e9c0565c04 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:31:31 -06:00
bc3fe1eee1 Fixed main thread closure issue caused by async.run 2026-02-25 01:03:02 -06:00
b7a1cb9049 Added ability to toggle view visibility. 2026-02-25 00:39:44 -06:00
1a195f75b9 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:33:00 -06:00
608699c431 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:44 -06:00
bd91eea411 Add file external deletion detection and improve WebKit UI
- Implement FileExternallyDeletedEvent handling with visual feedback
  via "file-deleted" CSS class on tabs
- Fix drag-and-drop to properly handle URI data
- Improve SourceFile.load() to use freeze_notify and proper buffer
  replacement instead of cursor insertion
- Add Developer Tools context menu option to WebKit view
- Relocate webkit_ui_settings from settings/other to settings/webkit
2026-02-23 00:53:54 -06:00
13f2750a7e Code cleanp scan through 2026-02-22 21:53:53 -06:00
88a6451fa8 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:22:52 -06:00
3ab71d6441 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:37:45 -06:00
aaadba3812 Clean up deprecated code and fix multiple issues
- Remove deprecated markdown_preview plugin and re-wrote
- Renamed alt_provider.py under words completer
- Fix words completion provider logic and cache handling
- Fix container orientations (VERTICAL -> HORIZONTAL) and add Separators
- Remove unused Gtk imports from search_replace plugin
- Fix event creation parameter order in source_file.py
- Fix typo in source_view.py (_load_pretify_json -> _load_prettify_json)
- Refactor webkit_ui with new load methods and enhanced settings
2026-02-20 00:10:41 -06:00
61b8bbc5fa 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:50:59 -06:00
2819598ae2 Load files from IPC to code view; fixed tabs close all; corrected app.py logging 2026-02-17 01:55:06 -06:00
73d9ae0517 Aded context menu to tabs widget; registered other widgets to registery 2026-02-16 23:55:36 -06:00
f5c506e210 Made words completer run async on load and update; swapped out tabs to use Gtk.Notebook 2026-02-16 17:09:30 -06:00
bcd87801e6 Moved completers to new dir; improved completers and added word completion 2026-02-16 01:37:13 -06:00
80a4620724 Major completion provider overhaul; pluigin load and pattern improvements; css overhaul/cleanup; source view state modes added 2026-02-14 21:36:06 -06:00
5df23abb10 removed endpoint_registery; relocated builder_wrapper to be widget_registery under libs/ 2026-01-19 14:00:36 -06:00
b54e0589d2 defaulting to buffer if language not detected 2026-01-19 00:28:31 -06:00
7a369886de Wiring plugins to controller messages; importing plugin controller to code base; fixed VTE widget adding to bash history 2026-01-18 22:40:06 -06:00
dac0fa3fb1 Pligins refactor with new context and controller integration 2026-01-18 20:34:53 -06:00
d55dd4e5da Preliminary controller layout work for plugin integration; controller base message refactor naming 2026-01-18 13:52:46 -06:00
813706265a Restructuring controller to broaden usability; changed events logic to support that 2026-01-18 00:53:10 -06:00
228837bdb5 Created libs.code package and moved pertinant DTOs to it as well as widget.code that can go there too 2026-01-13 11:27:20 -06:00
63454aef9d Improved folder structure for commamd system and controllers 2026-01-13 00:44:19 -06:00
b6c4b94bbe Added controller manager registery guard; localized event type access for code to event factory 2026-01-13 00:00:35 -06:00
a4be7a2117 fix singleton typeing and __init__ 2026-01-12 23:34:00 -06:00
1ae33eeeba fix code close file command 2026-01-12 22:47:09 -06:00
0e3f3513e6 Fixed code view expansion issues; fixed pre/post code view key mappings not sinking Gtk signals properly 2026-01-12 00:08:59 -06:00
424bb34e06 Moved to using event_factory and referencing types from it 2026-01-11 22:47:30 -06:00
7196dc5ec8 Full 'code' widget refactor to utilize controllers and cross controller event signaling 2026-01-11 19:42:31 -06:00
6c9136bdb2 fixed pathing, exception name, and arg names 2026-01-04 13:32:17 -06:00
b79220c1ae initial commit 2026-01-04 11:42:27 -06:00