Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-10 | GTextEditor: Let the Tab key insert up to 4 spaces. | Andreas Kling | |
2019-03-08 | GTextEditor: Use a subwidget for the scrollbar corner and tighten clipping. | Andreas Kling | |
2019-03-08 | GTextEditor: Refactor selection into a GTextRange class. | Andreas Kling | |
This is a bit more expressive than "selection start + current cursor". | |||
2019-03-08 | LibGUI+WindowServer: Implement drag-to-select behavior in GTextEditor. | Andreas Kling | |
To make this feel right, I needed to start passing keyboard modifiers along with mouse events. That allows shift-clicking to extend the selection. :^) | |||
2019-03-08 | GTextEditor: Simplify delete_selection(). | Andreas Kling | |
2019-03-08 | GTextEditor: Work on cut/copy/paste operations. | Andreas Kling | |
2019-03-08 | GTextEditor: Add selected_text() function. | Andreas Kling | |
I don't have a clipboard to actually put the copied selection onto yet, so just print the selected text to stdout so we can see what it is. | |||
2019-03-08 | GTextEditor: Add basic selection support. | Andreas Kling | |
2019-03-07 | GTextEditor: Add a ruler column that always shows the line numbers. | Andreas Kling | |
2019-03-07 | GTextEditor: Add write_to_file(String path) :^) | Andreas Kling | |
2019-03-07 | GTextEditor: Support splitting lines at the cursor with the Return key. | Andreas Kling | |
2019-03-07 | GTextEditor: Merge with previous line if backspacing at column 0. | Andreas Kling | |
2019-03-07 | GTextEditor: More work on basic line editing. Insert/remove characters. | Andreas Kling | |
2019-03-07 | GTextEditor: Start working on editing, starting with inserting newlines. | Andreas Kling | |
2019-03-07 | GTextEditor: Only paint lines inside the dirty rect. | Andreas Kling | |
This dramatically improves performance in large documents. :^) | |||
2019-03-07 | GTextEditor: Let's use a Vector for the line backing store. | Andreas Kling | |
I'm eventually gonna want to replace this with something more clever, like a automagically splicing vector or something, but for now, at least we move away from immutable Strings. | |||
2019-03-07 | GTextEditor: Allow moving the cursor by clicking. | Andreas Kling | |
2019-03-07 | GTextEditor: Make the cursor invalidation work with the padding(). | Andreas Kling | |
2019-03-07 | GTextEditor: Add Home/End and Ctrl+Home/Ctrl+End navigation shortcuts. | Andreas Kling | |
For start/end of line and start/end of document respectively. | |||
2019-03-07 | GTextEditor: Improvements to cursor rendering. | Andreas Kling | |
The view now scrolls along with you as you move the cursor around. | |||
2019-03-07 | GTextEditor: Draw the cursor line in a slightly darker shade. | Andreas Kling | |
2019-03-07 | GTextEditor: Make the cursor blink while the editor is focused. | Andreas Kling | |
2019-03-07 | TextEditor: Show the current cursor position in the statusbar. | Andreas Kling | |
2019-03-07 | Begin working on a graphical TextEditor. | Andreas Kling | |
It's gonna be a wrapper around a new GTextEditor widget so I can easily reuse the functionality anywhere I need it. :^) |