1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 10:51:00 +00:00
serenity/DevTools/HackStudio
Andreas Kling d3e81d2ba8 HackStudio: Start adding a "find in files" function
Projects now contain a set of TextDocument objects. Each TextDocument
represents a member file in the project. TextDocuments may not have
their file contents loaded at all times, but they will be loaded on
demand when calling TextDocument::contents().

"Find in files" works by iterating over the documents in the project
and calling find(needle) on each one. The return value from find() is
a vector of line numbers where the needle was found.

This is obviously going to need a bunch more work. :^)
2019-10-23 20:54:41 +02:00
..
main.cpp HackStudio: Start adding a "find in files" function 2019-10-23 20:54:41 +02:00
Makefile HackStudio: Start adding a "find in files" function 2019-10-23 20:54:41 +02:00
Project.cpp HackStudio: Start adding a "find in files" function 2019-10-23 20:54:41 +02:00
Project.h HackStudio: Start adding a "find in files" function 2019-10-23 20:54:41 +02:00
TerminalWrapper.cpp HackStudio: Add a simple "Build" action 2019-10-22 22:15:43 +02:00
TerminalWrapper.h HackStudio: Add a simple "Build" action 2019-10-22 22:15:43 +02:00
TextDocument.cpp HackStudio: Start adding a "find in files" function 2019-10-23 20:54:41 +02:00
TextDocument.h HackStudio: Start adding a "find in files" function 2019-10-23 20:54:41 +02:00