• Products
  • Download
  • Purchase
  • Support
  • Company
Actipro Software company logo
Twitter Follow Actipro RSS Subscribe (RSS Feed)

The Actipro Blog

Tag Cloud

  • blog
  • docking
  • editors
  • intelliprompt
  • micro charts
  • navigation
  • propertygrid
  • ribbon
  • shared library
  • silverlight
  • syntaxeditor
  • themes
  • views
  • web site
  • winforms
  • winrt
  • wpf

Twitter Feed

Tweets by @Actipro

Month List

  • 2013
    • May (5)
    • April (7)
    • March (9)
    • February (2)
    • January (7)
  • 2012
    • December (4)
    • November (7)
    • October (5)
    • September (7)
    • August (5)
    • July (9)
    • June (11)
    • May (12)
    • April (6)
    • March (11)
    • February (11)
    • January (2)
  • 2011
    • December (2)
    • November (7)
    • October (2)
    • September (1)
    • August (5)
    • July (3)
    • June (6)
    • May (5)
    • April (8)
    • March (4)
    • February (5)
    • January (9)
  • 2010
    • December (9)
    • November (10)
    • October (4)
    • September (8)
    • August (12)
    • July (9)
    • June (7)
    • May (6)
    • April (7)
    • March (6)
    • February (6)
    • January (4)
  • 2009
    • December (2)
    • November (2)
    • October (12)
    • September (3)
    • August (11)
    • July (10)
    • June (6)
    • May (3)
    • April (7)
    • March (6)
    • February (8)
    • January (10)
  • 2008
    • December (10)
    • November (2)
    • October (3)
    • September (5)
    • August (5)
    • July (8)
    • June (4)
    • May (4)
    • April (10)
    • March (8)
    • February (1)
    • January (2)

Category List

  • RSS feed for ActiproActipro (401)
  • RSS feed for AppsApps (7)
  • RSS feed for Blog SummaryBlog Summary (19)
  • RSS feed for Customer ShowcaseCustomer Showcase (1)
  • RSS feed for GeneralGeneral (43)
  • RSS feed for In developmentIn development (194)
  • RSS feed for New featuresNew features (207)
  • RSS feed for New productNew product (56)
  • RSS feed for PromotionPromotion (2)
  • RSS feed for SilverlightSilverlight (142)
  • RSS feed for Tips and tricksTips and tricks (4)
  • RSS feed for Visual Studio 2008Visual Studio 2008 (2)
  • RSS feed for Windows FormsWindows Forms (28)
  • RSS feed for Windows VistaWindows Vista (10)
  • RSS feed for WinRTWinRT (39)
  • RSS feed for WPFWPF (314)
  • RSS feed for XAMLXAML (34)

About Us

Actipro Software is a leading provider of .NET user interface controls for the WPF, WinRT XAML, Silverlight, and WinForms frameworks, and is most well-known for their SyntaxEditor syntax-highlighting code editor control.

Please take some time to learn more about us and our product offerings.

SyntaxEditor Highlighting Style Borders

April 4, 2012 at 5:41 AM
by Bill Henning (Actipro)

BlogPostBanner

SyntaxEditor for WPF and Silverlight have the ability for you to fully customize the highlighting styles used to syntax highlight text.  While the syntax highlighting is generally performed via the lexing of text, there also is a facility built into SyntaxEditor that allows you to tag other arbitrary ranges of text and apply a custom style to them.

Styles allow the text to change its color, background, bold, italics, underline, strike-through, font family, size, etc.  In the upcoming 2012.1 version, we've added border rendering capabilities into the mix!

Highlighting Style Border Samples

Let's see some examples of how this looks.  In each of these samples, we rendered the same code but applied a customized style over the word "ActiproTest".

Outline1

The first sample shows a grey solid border that has rounded corners and a silver background.

Outline2

The second sample shows a dotted dark blue border.

Outline3

The third sample shows a dashed red border and light red background.

Note how syntax highlighting that comes from the language's lexer is still in effect.  We are using a custom classification tagger to tag the "ActiproText" as special and needing to have a customized style.  Its border merges seamlessly with the normal lexing features of SyntaxEditor.

This new feature will be in the 2012.1 versions of our WPF and Silverlight controls.

TaskDownload TaskLiveDemo TaskBuyNow

Tags: wpf, silverlight, syntaxeditor
Filed under: Actipro, In development, New features, WPF, Silverlight
Submit to DotNetKicks...
Permalink | Comments (2)

Related posts

SyntaxEditor for WPF - Highlighting style configuration part 2Thanks for your comments on this post and via email on yesterday’s post about getting input on...SyntaxEditor for WPF - Need input on highlighting style configurationSorry we haven’t made any new SyntaxEditor for WPF posts recently.  We’ve been hamm...SyntaxEditor for WPF - Advanced themes and highlighting style featuresThe past several days we’ve been cleaning up code (running code analysis, fixing XML comment e...

Comments

July 2, 2012 at 04:07  

trackback

Actipro Blog 2012 Q2 Posting Summary

Actipro Blog 2012 Q2 Posting Summary

The Actipro Blog - WPF, Silverlight, and WinForms Development

July 2, 2012 at 15:30  

pingback

Pingback from mywebtips.net

Actipro Blog 2012 Q2 Posting Summary | پویندگان سپهر آپادانا

mywebtips.net

Comments are closed
Copyright © 1999-2013 Actipro Software LLC. All rights reserved.
Home Actipro Software | Products | Download | Contact Us