Commit Graph

  • bbdccb0ff6 Disable syntax highlighting main Luke Wilson 2025-05-02 14:41:42 -05:00
  • 25dfc2efe2 Redundancy Luke I. Wilson 2023-08-24 18:53:55 -05:00
  • 176a6a1b95 Update dependencies Luke I. Wilson 2023-08-24 18:36:46 -05:00
  • 2947128857 A lot of changes that I wasn't able to properly commit months ago Luke Wilson 2021-08-20 18:58:09 -05:00
  • 7074a250a1 Update readme: there is no planned scripting language Luke Wilson 2021-04-17 13:06:33 -05:00
  • 35464ca714 Updated screenshots Luke Wilson 2021-04-17 12:25:44 -05:00
  • fe6970508d Changed project layout and updated readme Luke Wilson 2021-04-15 11:59:25 -05:00
  • 27b2f564eb Cut TextEdit Draw time in half Luke Wilson 2021-04-13 13:12:28 -05:00
  • b9a8b0040a Replace manual utf8.DecodeRune with range string loops Luke Wilson 2021-04-13 12:31:42 -05:00
  • 06d12b0415 Code tidy Luke Wilson 2021-04-13 11:32:22 -05:00
  • 2755630929 Upgrade go version Luke Wilson 2021-04-13 11:30:03 -05:00
  • 1dbba289c8 Make dependencies direct and upgrade go-runewidth Luke Wilson 2021-04-13 11:22:52 -05:00
  • faa9c2c410 Added rope buffer anchors test Luke Wilson 2021-04-13 11:19:23 -05:00
  • 3bf5e6dfd7 Implemented anchors for rope buffer Luke Wilson 2021-04-13 11:05:01 -05:00
  • 8d775804cb Reimplement simple selection Luke Wilson 2021-04-12 18:57:59 -05:00
  • b0ca65a613 Fix not applying cursor operation Luke Wilson 2021-04-12 17:48:00 -05:00
  • d96c2f6f03 Refactored cursor architecture into buffer module Luke Wilson 2021-04-12 17:38:29 -05:00
  • 59856c5e41 Panel: change reference to Focused -> focused Luke Wilson 2021-04-12 10:53:25 -05:00
  • e0079bbdb5 Panel: inherit from baseComponent struct Luke I. Wilson 2021-04-08 18:39:06 -05:00
  • 70e32e0b5c Merge branch 'panels' Luke I. Wilson 2021-04-08 13:05:13 -05:00
  • 8346c52167 Added baseComponent to ui to save boilerplate lines Luke I. Wilson 2021-04-08 12:41:24 -05:00
  • 2e128e5b36 Remove temporary comments from main.go Luke I. Wilson 2021-04-08 11:11:09 -05:00
  • 14ba338de9 PanelContainer: bug fix on destroying a panel Luke I. Wilson 2021-04-07 23:03:20 -05:00
  • 5df772e568 TextEdit: only hide cursor when unfocused Luke I. Wilson 2021-04-07 22:05:58 -05:00
  • 8142bb2de5 Autofocus new panels Luke I. Wilson 2021-04-07 21:51:18 -05:00
  • baafcf3d5c TextEdit: Colorscheme "Column" style + changed column appearance Luke I. Wilson 2021-04-07 21:45:38 -05:00
  • cdeb3be359 TabContainer & Theme fixes to better show focused state of TabContainer and MenuBar Luke I. Wilson 2021-04-07 21:06:36 -05:00
  • eb17dfec2e Transfer focus to panelContainer on some Menu callbacks Luke I. Wilson 2021-04-07 19:55:11 -05:00
  • e7e459b16f PanelContainer: code cleanup Luke I. Wilson 2021-04-07 14:55:20 -05:00
  • 56b89c6079 PanelContainer: Implement cycling selection Luke I. Wilson 2021-04-07 13:56:32 -05:00
  • 459087e6d8 PanelContainer: removed multiple comments Luke I. Wilson 2021-04-06 14:35:55 -05:00
  • 389276ee34 PanelContainer: Bug fixes and integration Luke I. Wilson 2021-04-06 11:14:17 -05:00
  • c40be89564 PanelContainer: Floating Panels, but not quite? Luke I. Wilson 2021-04-06 10:06:02 -05:00
  • 95e4db4d3e PanelContainer: SwapNeighborsSelected() to split left and split top Luke I. Wilson 2021-04-05 17:31:16 -05:00
  • cf5803c464 Splitting Panels Luke I. Wilson 2021-04-05 17:15:57 -05:00
  • eb8142ea8e PanelContainer: SetFocus and HandleEvent properly Luke I. Wilson 2021-04-05 17:03:52 -05:00
  • 25b416da3d Injected new PanelContainer into mainloop to replace TabContainer Luke I. Wilson 2021-04-05 16:55:16 -05:00
  • 03c8c3bcad Created Panel and PanelContainer untested code Luke I. Wilson 2021-04-05 16:22:40 -05:00
  • 0918afc483 Fixed not setting TextEdit's FilePath field in Save As function Luke I. Wilson 2021-04-05 10:30:51 -05:00
  • ccb096a3f6 Add GotoLineDialog and Search->Go to line functionality Luke I. Wilson 2021-04-04 20:00:47 -05:00
  • 3982628653 Ran go fmt *.go on all sources Luke I. Wilson 2021-04-04 13:15:31 -05:00
  • e115855491 TextEdit highlighting: update lang definition Luke I. Wilson 2021-04-04 11:09:34 -05:00
  • 0c44bd0312 Fix nil ptr bug Luke I. Wilson 2021-04-04 10:34:55 -05:00
  • ca68b8d7fa TextEdit: naive fix to rendering selection around hard tabs Luke I. Wilson 2021-04-04 09:36:56 -05:00
  • 0e0f4b9339 Replaced background style Luke I. Wilson 2021-04-04 08:33:42 -05:00
  • 28e9af70eb InputField: replace buffer with byte buffer and update appearance Luke I. Wilson 2021-04-04 08:30:09 -05:00
  • 1b50aff0c6 Main: fix cut selection deleting selection before copying. Luke I. Wilson 2021-04-02 15:05:59 -05:00
  • d1dd389dba Main: more robust error handling. Luke I. Wilson 2021-04-02 14:30:38 -05:00
  • f64af6fa29 DrawStr: made more efficient and renders newline characters Luke I. Wilson 2021-04-02 13:30:37 -05:00
  • 9192d35b3c Implement Save As and have Save redirect to Save As when the file is unnamed Luke I. Wilson 2021-04-01 21:07:28 -05:00
  • 7ce5096952 Add menu entries to Search menu Luke I. Wilson 2021-04-01 20:42:22 -05:00
  • 0dcdd62773 UI: removed WindowContainer, and replaced it with DrawWindow function Luke I. Wilson 2021-04-01 20:34:18 -05:00
  • a4d5f3ccf4 Highlighter: fix bug causing out of bounds access when endLine > len of internal lines Luke I. Wilson 2021-04-01 16:19:14 -05:00
  • 239793aa2c Rope test: add case for TestRopeSlice Luke I. Wilson 2021-04-01 16:16:47 -05:00
  • 25f5262b6a Rope: fix bug in Slice() causing out-of-bounds access Luke I. Wilson 2021-04-01 16:14:39 -05:00
  • 2cd41fc62d TextEdit: update highlighting for .go files, make strings lazy match Luke I. Wilson 2021-04-01 14:40:38 -05:00
  • 58c8de3068 Rope: Added LineColToPos, and optimized Highlighter's UpdateLines() Luke I. Wilson 2021-04-01 14:16:51 -05:00
  • f829b37d0c TextEdit & Highlighting: performance improvements & changes to architecture Luke I. Wilson 2021-04-01 12:05:17 -05:00
  • 37589144b5 TextEdit: Add syntax highlighting for Go files Luke I. Wilson 2021-03-30 23:00:32 -05:00
  • aaf377ccd5 TextEdit: account for tab offsets when highlighting Luke I. Wilson 2021-03-30 22:21:56 -05:00
  • de921419ce Rope buffer tests: remove unnecessary 't.Fail()` everywhere Luke I. Wilson 2021-03-30 22:17:41 -05:00
  • cdf10cdd3c Merge branch 'main' of github.com:fivemoreminix/qedit Luke I. Wilson 2021-03-30 22:14:54 -05:00
  • a79227e97c Rope buffer: Fix bug in PosToLineCol and add test case Luke I. Wilson 2021-03-30 22:14:02 -05:00
  • a90a367122 TextEdit: Replaced line-based rendering with character-based rendering. Luke I. Wilson 2021-03-30 20:44:09 -05:00
  • 9a85e8efef Create and initialize Highlighter in TextEdit Luke I. Wilson 2021-03-27 13:42:11 -05:00
  • 1161888660 Made quick chars use an index Luke I. Wilson 2021-03-25 11:27:43 -05:00
  • e8318673aa
    Update year Luke I. Wilson 2021-03-24 22:27:25 -05:00
  • d11ec4a855
    Update README.md Luke I. Wilson 2021-03-24 22:26:17 -05:00
  • d01bb415a4 Add screenshots Luke I. Wilson 2021-03-24 22:19:47 -05:00
  • d508d8a880 New README Luke I. Wilson 2021-03-24 22:17:40 -05:00
  • 8d532fd9b7 Renamed diesel to qedit Luke I. Wilson 2021-03-24 18:37:12 -05:00
  • d47e407063 Fixed bug in saving files: was missing os.O_TRUNC bit flag Luke I. Wilson 2021-03-24 17:47:13 -05:00
  • 9133ab55d0 Bounds check delete regions in rope buffer Luke I. Wilson 2021-03-24 11:40:18 -05:00
  • 296fa8b4ac Remove comment Luke I. Wilson 2021-03-23 18:47:58 -05:00
  • 3be12bdff1 Use Buffer.WriteTo method for writing buffer to file Luke I. Wilson 2021-03-23 18:13:55 -05:00
  • 40e1b40672 Add and replace []string buffer with ropes Luke I. Wilson 2021-03-23 15:14:23 -05:00
  • bd6f1cf79e Added RopeBuffer Buffer implementation Luke I. Wilson 2021-03-22 16:10:23 -05:00
  • 817b2c66c4 Complete revamp of shortcut system in Menu Luke I. Wilson 2021-03-20 23:10:23 -05:00
  • 3cf168355a Remove barFocused boolean from main loop Luke I. Wilson 2021-03-20 21:56:25 -05:00
  • 8db551ceae Bug fix with focusing wrong component after using menu item Luke I. Wilson 2021-03-20 21:51:34 -05:00
  • 119aac195e Bug fixes for previous features Luke I. Wilson 2021-03-20 18:03:38 -05:00
  • df106cbbff Render shortcuts on Menus Luke I. Wilson 2021-03-20 17:35:32 -05:00
  • ce66bc4bc6 Added shortcut keys possibility to Menus Luke I. Wilson 2021-03-20 16:22:06 -05:00
  • fefa34c2b6 Add ItemSelectedCallback to MenuBar & make Menus field private Luke I. Wilson 2021-03-20 14:53:41 -05:00
  • bc08505fa8 Show dirty TextEdit tabs Luke I. Wilson 2021-03-20 13:46:44 -05:00
  • ca4a847547 Allow non-existant files in command-line args Luke I. Wilson 2021-03-20 13:36:26 -05:00
  • 6e97e8345a Add status bar Luke I. Wilson 2021-03-19 21:57:49 -05:00
  • 70d734e8e2 Added using tab to move cursor in MenuBar and Menu Luke I. Wilson 2021-03-19 20:21:46 -05:00
  • 5625e8b48f Refactored cursor movement in MenuBar Luke I. Wilson 2021-03-19 20:12:19 -05:00
  • ffaad36c78 Added quick chars to MenuBar and Menus Luke I. Wilson 2021-03-19 19:58:59 -05:00
  • 83567c1341 Menu & MenuBar experience improvements Luke I. Wilson 2021-03-18 23:37:42 -05:00
  • 1d77aae277 go fmt Luke I. Wilson 2021-03-18 19:52:34 -05:00
  • e1ebc29ac1 Cut/copy/paste Luke I. Wilson 2021-03-18 19:47:01 -05:00
  • c8729aebb8 Fix bug in GetSelectedString in TextEdit Luke I. Wilson 2021-03-18 19:46:36 -05:00
  • cac950afd6 Cursor selection movement fix in TextEdit Luke I. Wilson 2021-03-18 16:47:20 -05:00
  • f7f864d125 Selection bug fixes Luke I. Wilson 2021-03-18 16:44:50 -05:00
  • d5ec12c1c8 Improved modifying selection with cursor movement Luke I. Wilson 2021-03-16 17:30:38 -05:00
  • 7971ef16ab go fmt Luke I. Wilson 2021-03-16 14:08:22 -05:00
  • 0f743cf1b3 Selection drawing fixes when scrolling in TextEdit Luke I. Wilson 2021-03-16 14:07:11 -05:00
  • 5a3bae052b Account for hard tabs when drawing selection in TextEdit Luke I. Wilson 2021-03-16 13:59:58 -05:00