Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Determines whether a string is selected
#1
Hi,

I want to use function _s.getsel to determine if a string is currently selected,

But many editor controls, there will also be string lengths without selecting a string, see the demo below

Is there a better way to judge? 

test software url: https://github.com/zufuliu/notepad2/releases

Thanks in advance for any advice and help
david


Messages In This Thread
Determines whether a string is selected - by Davider - 08-29-2022, 12:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)