Author Topic: Character level control of font attributes?  (Read 5121 times)

dmw

  • Senior Community Member
  • Posts: 145
  • Hero Points: 15
Character level control of font attributes?
« on: December 20, 2009, 04:40:02 AM »
In Slick-C, is it possible to get/set character attributes such as font styles and colors in an editor control?  I'm talking direct access, such as making the character at line 3 col 4 bold with a red background.
« Last Edit: December 21, 2009, 02:28:27 PM by Ashley »

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: Character level control of font attributes?
« Reply #1 on: December 20, 2009, 08:24:17 PM »
This post belongs in the Slick-C® Macro Programming forum (the SlickEdit User Macros forums is for posting completed macros that others can download and install).

Yes, it is possible to markup text in a control.  In the Help look up the Marker Functions stuff.  Some examples can be found in various macros available, such as Symbol Highlighting and Highlight matching parens.

dmw

  • Senior Community Member
  • Posts: 145
  • Hero Points: 15
Re: Character level control of font attributes?
« Reply #2 on: December 21, 2009, 04:13:26 PM »
This post belongs in the Slick-C® Macro Programming forum (the SlickEdit User Macros forums is for posting completed macros that others can download and install).

Ha!  I thought I was in that forum.  I wondered where all the posts had gotten to.  Thanks for letting me know.  I've had the post moved to the appropriate forum.

Thanks for the pointers.  With this new info, I've gotten most of what I was attempting to work.