Check SelectedWord: Ensure that SelectedWord holds the word you want to highlight by outputting it for debugging. You can use Debug SelectedWord to confirm the correct word is selected.
Verify the Range for Highlighting: When calling the Color procedure, you are sending 0 as the starting position ...
Search found 2 matches
- Thu Oct 03, 2024 9:39 am
- Forum: Coding Questions
- Topic: How to highlight a word in the IDE?
- Replies: 4
- Views: 1263
- Mon Sep 30, 2024 3:46 am
- Forum: Coding Questions
- Topic: Canvas mouse position (enter & leave)
- Replies: 4
- Views: 759
Re: Canvas mouse position (enter & leave)
In your case, it seems that the #PB_EventType_MouseLeave event is delayed for the first window until the second window's #PB_EventType_MouseEnter event is triggered. This may be due to the way Windows handles z-ordering or window focus changes between borderless windows.
Enforcing Window Focus on ...
Enforcing Window Focus on ...