1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00
serenity/Userland/DevTools/HackStudio
sin-ack ca2c81251a Everywhere: Replace Model::update() with Model::invalidate()
Most of the models were just calling did_update anyway, which is
pointless since it can be unified to the base Model class. Instead, code
calling update() will now call invalidate(), which functions identically
and is more obvious in what it does.

Additionally, a default implementation is provided, which removes the
need to add empty implementations of update() for each model subclass.

Co-Authored-By: Ali Mohammad Pur <ali.mpfard@gmail.com>
2021-08-06 19:14:31 +02:00
..
Debugger Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
Dialogs Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
Git Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
LanguageClients Userland: Mark subclasses of IPC::{Client,Server}Connection final 2021-05-23 09:53:55 +02:00
LanguageServers LibRegex+Everywhere: Make LibRegex more unicode-aware 2021-07-18 21:10:55 +04:30
AutoCompleteResponse.h HackStudio: Make TODO entries clickable 2021-06-23 19:00:11 +01:00
ClassViewWidget.cpp HackStudio: Add comment about lexicographical insertion to ClassView 2021-06-04 19:29:22 +02:00
ClassViewWidget.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
CMakeLists.txt HackStudio: Add syntax highlighting for HTML, Shell, and SQL files 2021-07-31 08:18:01 +02:00
CodeDocument.cpp HackStudio: Add statusbar with file and selected text information 2021-07-16 12:58:20 +02:00
CodeDocument.h HackStudio: Add statusbar with file and selected text information 2021-07-16 12:58:20 +02:00
Editor.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
Editor.h HackStudio: Add autocompletion for GML files 2021-07-29 11:33:16 +02:00
EditorWrapper.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
EditorWrapper.h HackStudio: Add statusbar with file and selected text information 2021-07-16 12:58:20 +02:00
FindInFilesWidget.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
FindInFilesWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLPreviewWidget.cpp HackStudio: Add GML Preview action tab 2021-07-29 11:33:16 +02:00
GMLPreviewWidget.h HackStudio: Add GML Preview action tab 2021-07-29 11:33:16 +02:00
HackStudio.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HackStudioWidget.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
HackStudioWidget.h HackStudio: Add GML Preview action tab 2021-07-29 11:33:16 +02:00
Language.cpp HackStudio+TextEditor: Sync extensions from the FileIconProvider file 2021-07-31 08:18:01 +02:00
Language.h HackStudio: Add syntax highlighting for HTML, Shell, and SQL files 2021-07-31 08:18:01 +02:00
LanguageClient.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
LanguageClient.h CppLanguageServer: Add "get_parameters_hint" capability 2021-07-04 17:50:33 +02:00
Locator.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
Locator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
Project.cpp HackStudio: Do not check NonnullRefPtr for null value 2021-07-08 10:11:00 +02:00
Project.h AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
ProjectDeclarations.cpp LibGfx: Use "try_" prefix for static factory functions 2021-07-21 18:02:15 +02:00
ProjectDeclarations.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProjectFile.cpp HackStudio: Remove unused includes 2021-06-02 23:15:52 +01:00
ProjectFile.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
ProjectTemplate.cpp LibGfx: Use "try_" prefix for static factory functions 2021-07-21 18:02:15 +02:00
ProjectTemplate.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TerminalWrapper.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TerminalWrapper.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ToDoEntries.cpp HackStudio: Make TODO entries clickable 2021-06-23 19:00:11 +01:00
ToDoEntries.h HackStudio: Make TODO entries clickable 2021-06-23 19:00:11 +01:00
ToDoEntriesWidget.cpp Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
ToDoEntriesWidget.h HackStudio: Make TODO entries clickable 2021-06-23 19:00:11 +01:00