1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

LibGUI: Add GTextDocument::range_for_entire_line()

This commit is contained in:
Andreas Kling 2019-12-10 22:06:31 +01:00
parent 9641f74310
commit 150090c742
2 changed files with 9 additions and 0 deletions

View file

@ -116,6 +116,8 @@ public:
char character_at(const GTextPosition&) const;
GTextRange range_for_entire_line(size_t line_index) const;
Optional<GTextDocumentSpan> first_non_skippable_span_before(const GTextPosition&) const;
Optional<GTextDocumentSpan> first_non_skippable_span_after(const GTextPosition&) const;