Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Continuous RichEditHighlight
#2
In RichEditHighlight replace several last lines to
Function RichEditHighlight
Code:
Copy      Help
int selStart selEnd
SendMessage hwndre EM_GETSEL &selStart &selEnd

for i 0 a.len
,SendMessage hwndre EM_SETSEL a[0 i].cpMin a[0 i].cpMax
,SendMessage hwndre EM_SETCHARFORMAT SCF_SELECTION m.address

SendMessage hwndre EM_SETSEL selStart selEnd
ret a.len


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)