Files
ladybird/Userland/Libraries/LibGUI
Timothy Flynn 2eb2207f50 LibGUI: Convert mouse events from a visual to a physical position
When clicking a position within a TextEditor, we should interpret that
position as a visual location. That location should be converted to a
"physical" location before using it to set the physical cursor position.

For example, consider a document with 2 emoji, each consisting of 3 code
points. Visually, these will occupy 2 columns. When a mouse click occurs
between these columns, we need to convert the visual column number 1 to
the physical column number 3 when storing the new cursor location.
2023-02-22 10:14:36 +01:00
..
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-19 01:09:09 +01:00
2022-11-19 11:04:11 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-19 01:09:09 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-01-11 10:24:51 +01:00
2023-01-11 10:24:51 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-16 10:47:22 +00:00
2023-02-16 10:47:22 +00:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-13 00:50:07 +00:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00