forked from slint-ui/slint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slintpad: Add picker mode where you can click on something in the pre…
…view and the editor focuses on that (slint-ui#2567) * compiler: Make mapping from source offset to line/column more reusable * compiler: Improve mapping of offset to line/column * Fix unit tests after line mapping update * interpreter: Add code to have a element picker mode * slintpad: Add picker mode to the preview * slintpad: Do not try to highlight "empty" highlight requests * Slintpad: Cycle through all the possible elements in design mode * Slintpad: Ignore builtins and eat less clicks * Slintpad: Highlight the element selected in design mode * Slintpad: Do not use static mut variable in design mode * slintpad: Rename `set_current_element_information_callback` * Interpreter: Do not use unsafe in design mode code Done with: @ogoffart and @tronical
- Loading branch information
Showing
12 changed files
with
497 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.