1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-21 18:10:59 +00:00
serenity/DevTools/HackStudio
Andreas Kling c8e02e60a6 HackStudio+LibGUI: Implement matching curly brace highlighting
This works for C++ syntax highlighted text documents by caching the C++
token type in a new "arbitrary data" member of GTextDocumentSpan.

When the cursor is placed immediately before a '{' or immediately after
a '}', we highlight both of these brace buddies by changing their
corresponding spans to have a different background color.

..and spans can also now have a custom background color. :^)
2019-11-18 19:10:06 +01:00
..
CppLexer.cpp HackStudio: Assorted improvements to C++ highlighting 2019-10-26 10:33:50 +02:00
CppLexer.h HackStudio: Assorted improvements to C++ highlighting 2019-10-26 10:33:50 +02:00
CursorTool.cpp LibDraw: Add Rect::from_two_points(Point, Point) 2019-11-17 16:37:42 +01:00
CursorTool.h HackStudio: Move the rubber-banding state into CursorTool 2019-11-16 22:26:46 +01:00
Editor.cpp HackStudio+LibGUI: Implement matching curly brace highlighting 2019-11-18 19:10:06 +01:00
Editor.h HackStudio+LibGUI: Implement matching curly brace highlighting 2019-11-18 19:10:06 +01:00
EditorWrapper.cpp HackStudio: Draw a brownish frame around the current editor widget 2019-10-27 20:44:37 +01:00
EditorWrapper.h HackStudio: Allow switching between editors with Ctrl+E / Ctrl+Shift+E 2019-11-05 20:56:36 +01:00
FindInFilesWidget.cpp HackStudio: Use GTextDoument::find_all() to implement find-in-files 2019-11-01 21:31:06 +01:00
FindInFilesWidget.h HackStudio: Move "find in files" widget to its own file/class 2019-10-23 21:13:08 +02:00
FormEditorWidget.cpp HackStudio: Show the edited form widget's widget tree in the tree view 2019-11-11 22:20:02 +01:00
FormEditorWidget.h HackStudio: Reflect widget selections in the form widget tree view 2019-11-11 22:20:02 +01:00
FormWidget.cpp HackStudio: Move the rubber-banding state into CursorTool 2019-11-16 22:26:46 +01:00
FormWidget.h HackStudio: Move the rubber-banding state into CursorTool 2019-11-16 22:26:46 +01:00
Locator.cpp HackStudio: Add little icons for ".cpp" and ".h" files 2019-10-28 19:08:48 +01:00
Locator.h HackStudio: Remove unnecessary Locator::keydown_event() 2019-10-28 19:08:48 +01:00
main.cpp HackStudio+LibGUI: Implement matching curly brace highlighting 2019-11-18 19:10:06 +01:00
Makefile LibPthread: Start working on a POSIX threading library 2019-11-13 21:49:24 +01:00
ProcessStateWidget.cpp HackStudio: Hide the ProcessStateWidget while no process is running 2019-10-24 21:04:13 +02:00
ProcessStateWidget.h HackStudio: Show the slave pty's PGID in the ProcessStateWidget 2019-10-24 20:56:13 +02:00
Project.cpp HackStudio: Rename TextDocument => ProjectFile 2019-11-01 21:31:06 +01:00
Project.h HackStudio: Rename TextDocument => ProjectFile 2019-11-01 21:31:06 +01:00
ProjectFile.cpp HackStudio: Use GTextDoument::find_all() to implement find-in-files 2019-11-01 21:31:06 +01:00
ProjectFile.h HackStudio: Use GTextDoument::find_all() to implement find-in-files 2019-11-01 21:31:06 +01:00
TerminalWrapper.cpp HackStudio: Do not spawn an intermediary shell 2019-11-14 20:10:16 +01:00
TerminalWrapper.h HackStudio: Add TerminalWrapper::kill_running_command() 2019-11-14 20:10:16 +01:00
Tool.cpp HackStudio: Introduce a Tool class with subs CursorTool and WidgetTool 2019-11-10 21:45:32 +01:00
Tool.h HackStudio: Move the rubber-banding state into CursorTool 2019-11-16 22:26:46 +01:00
WidgetTool.cpp HackStudio: Allow moving the selected widgets using the arrow keys 2019-11-10 22:40:58 +01:00
WidgetTool.h HackStudio: Allow moving the selected widgets using the arrow keys 2019-11-10 22:40:58 +01:00
WidgetTreeModel.cpp HackStudio: Reflect widget selections in the form widget tree view 2019-11-11 22:20:02 +01:00
WidgetTreeModel.h HackStudio: Reflect widget selections in the form widget tree view 2019-11-11 22:20:02 +01:00