mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 03:27:15 +02:00
HackStudio: GUI support for setting breakpoints on source code lines
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 07:19:04 +09:00
Author: https://github.com/itamar8910 Commit: https://github.com/SerenityOS/serenity/commit/393560d8a2d Pull-request: https://github.com/SerenityOS/serenity/pull/1946 Reviewed-by: https://github.com/awesomekling
@@ -151,8 +151,10 @@ protected:
|
||||
virtual void resize_event(ResizeEvent&) override;
|
||||
virtual void theme_change_event(ThemeChangeEvent&) override;
|
||||
virtual void cursor_did_change() {}
|
||||
Gfx::Rect ruler_content_rect(size_t line) const;
|
||||
|
||||
TextPosition text_position_at(const Gfx::Point&) const;
|
||||
bool ruler_visible() const { return m_ruler_visible; }
|
||||
|
||||
private:
|
||||
friend class TextDocumentLine;
|
||||
@@ -183,7 +185,6 @@ private:
|
||||
TextDocumentLine& current_line() { return line(m_cursor.line()); }
|
||||
const TextDocumentLine& current_line() const { return line(m_cursor.line()); }
|
||||
int ruler_width() const;
|
||||
Gfx::Rect ruler_content_rect(size_t line) const;
|
||||
void toggle_selection_if_needed_for_event(const KeyEvent&);
|
||||
void delete_selection();
|
||||
void did_update_selection();
|
||||
|
||||
Reference in New Issue
Block a user