Highlight a specific line in a text area
Posted: Fri Apr 06, 2018 5:01 am
Hi everyone,
I have a text area (widget type = text area) with several lines (font = courier new).
Is it possible to highlight a specific line within the text area ?
For example:
Text for line 1.
Text for line 2.
Text for line 3.
Text for line 4.
I tried to add <b> ..text.. </b> but it isn't working.
There is a hex code x'25' for return resp. line feed which works fine. Is there also a hex code to highlight a line or a few words within the text area ?
Is there another function or is the only way to achieve this goal to use a html container or to use java script code ?
Having a function to easily highlight a few lines or words within a text area would be very helpful.
Thank you for your help in advance.
Christoph
I have a text area (widget type = text area) with several lines (font = courier new).
Is it possible to highlight a specific line within the text area ?
For example:
Text for line 1.
Text for line 2.
Text for line 3.
Text for line 4.
I tried to add <b> ..text.. </b> but it isn't working.
There is a hex code x'25' for return resp. line feed which works fine. Is there also a hex code to highlight a line or a few words within the text area ?
Is there another function or is the only way to achieve this goal to use a html container or to use java script code ?
Having a function to easily highlight a few lines or words within a text area would be very helpful.
Thank you for your help in advance.
Christoph