Scintilla question

Everything else that doesn't fall into one of the other PB categories.
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Scintilla question

Post by Perkin »

Just a 'in theory' question.

If I had a ScintillaGadget, which is loaded with a html file, to be edited,

If the cursor is on a <tag> would it possible to get the position of it's corresponding closing tag.
and here's the main question - to do that SIMPLY?

Especially, since there could be lots of other tags/close-tags in between the two required tags.
%101010 = $2A = 42
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Scintilla question

Post by srod »

Simply... no. At least no simpler than using any other kind of suitable control. In fact, it would probably be more difficult depending on the code page you are using with the Scintilla control.
I may look like a mule, but I'm not a complete ass.
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Scintilla question

Post by Perkin »

Thought not.

Thanks anyway.
%101010 = $2A = 42
Post Reply