mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 23:39:44 +00:00
HackStudio: GUI support for setting breakpoints on source code lines
This commit is contained in:
parent
009b4ea3f4
commit
393560d8a2
Notes:
sideshowbarker
2024-07-19 07:19:04 +09:00
Author: https://github.com/itamar8910
Commit: 393560d8a2
Pull-request: https://github.com/SerenityOS/serenity/pull/1946
Reviewed-by: https://github.com/awesomekling
7 changed files with 135 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue