summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/TextEditor.h
AgeCommit message (Collapse)Author
2020-04-25HackStudio: GUI support for setting breakpoints on source code linesItamar
2020-04-20LibGUI: Add Select all action to TextEditorangel
Previously, TextEditor processed the Select all command directly on the keydown event handler. For this reason, WindowManager would not process it as an action for the focused control and an action with the same keyboard shortcut from the parent could override the TextEditor's one even when it is focused. For instance, when pressing Ctrl+A on the FileManager's path bar, all files were selected instead, which is not the expected behavior. Now the Select all command is an actual action on TextEditor, so that WindowManager can process it correctly before any other actions. I also added an icon for it!
2020-04-20LibGUI: Keep scrolling while drag-selecting outside a TextEditorAndreas Kling
If you start selecting text and move the cursor outside the TextEditor widget area without letting go of the mouse button, we will now keep scrolling a little bit every 100ms.
2020-03-16LibGUI: Add a ThemeChange eventOriko
2020-03-12LibGUI: Add underlines to highlightingOriko
2020-02-23LibGUI: Remove parent parameter to GUI::Widget constructorAndreas Kling
2020-02-23LibGUI: Don't require passing a parent to widget constructorsAndreas Kling
This is a step towards using Core::Object::add<T> more, which takes care of parenting the newly created child automatically.
2020-02-16LibGUI: Add forwarding headerAndreas Kling
This patch adds <LibGUI/Forward.h> and uses it a bunch. It also dragged various header dependency reduction changes into it.
2020-02-15LibGUI: Remove more header dependencies from Widget.hAndreas Kling
2020-02-07LibGUI+HackStudio: Move syntax highlighting from HackStudio to LibGUIAndreas Kling
This patch introduces the GUI::SyntaxHighlighter class, which can be attached to a GUI::TextEditor to provide syntax highlighting. The C++ syntax highlighting from HackStudio becomes a new class called GUI::CppSyntaxHighlighter. This will make it possible to get C++ syntax highlighting in any app that uses a GUI::TextEditor. :^) Sidenote: It does feel a bit weird having a C++ lexer in a GUI toolkit library, and we'll probably end up moving this out to a separate place as this functionality grows larger.
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling