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

The Actipro Blog

Tag Cloud

  • aero
  • blog
  • docking
  • editors
  • gauge
  • intelliprompt
  • navigation
  • propertygrid
  • ribbon
  • shared library
  • silverlight
  • syntaxeditor
  • themes
  • views
  • winforms
  • wpf

Latest Twitter News

November 21, 2011 at 11:14 AM
#WPF Studio 2011.2 is out now! Includes enhanced themes for native WPF conrtols and new SyntaxEditor features. http://t.co/uEMCaGPG

September 26, 2011 at 1:25 PM
If you'd like to see our #WPF / #Silverlight SyntaxEditor code editor control ported to Metro, provide feedback here: http://t.co/xXBNIDTi

September 15, 2011 at 8:31 PM
If you want to see SyntaxEditor eventually show up in Win8's #xaml UI, be sure to add your support to this MS thread: http://t.co/FBjz6TuC

August 15, 2011 at 1:47 PM
New SyntaxEditor IntelliPrompt parameter info feature docs/samples ready for the 2011.2 #WPF and #Silverlight releases. http://t.co/ezoYIjv

August 2, 2011 at 2:40 PM
First look at new automated IntelliPrompt parameter info coming to our C#/VB editor control in #WPF / #Silverlight http://t.co/CUz6O1T

Twitter Follow us on Twitter

Month List

  • 2012
    • February (3)
    • 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 (289)
  • RSS feed for Blog SummaryBlog Summary (13)
  • RSS feed for GeneralGeneral (34)
  • RSS feed for In developmentIn development (150)
  • RSS feed for New featuresNew features (140)
  • RSS feed for New productNew product (30)
  • RSS feed for PromotionPromotion (2)
  • RSS feed for SilverlightSilverlight (71)
  • RSS feed for Tips and tricksTips and tricks (4)
  • RSS feed for Visual Studio 2008Visual Studio 2008 (2)
  • RSS feed for Windows FormsWindows Forms (20)
  • RSS feed for Windows VistaWindows Vista (10)
  • RSS feed for WPFWPF (235)
  • RSS feed for XAMLXAML (23)

About Us

Actipro Software is a leading provider of .NET user interface controls for the WPF, 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 updates to dynamic lexers - feedback wanted

July 20, 2009 at 3:45 AM
by Bill Henning (Actipro)

We’ve started some work on doing updates to what are known as “dynamic languages” in SyntaxEditor 4.0.  These languages allow you to define a lexer in terms of explicit and regular expression pattern groups and make it very simple to get syntax highlighting working fast.

In the next-generation framework we’re prototyping out with the WPF version of SyntaxEditor, we’ve renamed these to be called “dynamic lexers” instead, since for the most part, they just control how the lexer tokenizes and highlights text.  Thus they can really be used with any language.

Anyhow, while we’re pretty happy with the XML format for defining dynamic lexers right now, we’d love to get additional input on new features you’d like to see or ideas for improvement.  Please post your comments or email them over.

Tags: wpf, winforms, syntaxeditor
Filed under: Actipro, In development, Windows Forms, WPF
Submit to DotNetKicks...
Permalink | Comments (9)

Related posts

SyntaxEditor for WPF - Loading dynamic languagesWe’ve been hammering out the dynamic language object model over the past few days.  If yo...SyntaxEditor 2011.1 Updates Part 1: Introduction As we’ve been posting, a large piece of the upcoming 2011.1 round of releases will be the first pu...SyntaxEditor 2011.1 Updates Part 4: Can-Match Callback and Error Reporting Enhancements This post continues our series on new features coming to SyntaxEditor 2011.1, primarily centered a...

Comments

July 19, 2009 at 14:17  

Paul Hasselfeldt

I would be really helpful if the regular expressions pattern groups had complete support for regex groups and options like prefix/suffix exclude, prefix/suffix in not present, as few as possible, along with other typical regex abilities.

Paul Hasselfeldt United States

July 19, 2009 at 15:30  

Bill Henning (Actipro)

Hi Paul,

The regexes should support already nearly everything found in the .NET regex engine except for lazy qualifiers.  Could you provide some detailed code examples on what you are specifically looking for?  Thanks!

Bill Henning (Actipro) United States

July 20, 2009 at 07:21  

Jesper

If I recall correctly, Actipro regexes don't support Unicode categories like .NET does. I've had to work around that once and it wasn't particularly fun.

Jesper Sweden

July 20, 2009 at 07:34  

Bill Henning (Actipro)


We did some work recently on those and SyntaxEditor for WPF's regex engine should support "\p{name}" and "\P{name}" now.

Bill Henning (Actipro) United States

July 20, 2009 at 07:35  

Jesper

Neat; I won't have to have long const strings to inline a valid C# identifier character (at the time of compilation, anyway) anymore.

Jesper Sweden

July 22, 2009 at 12:03  

Matt Whitfield

The only thing I would add, potentially, is a separation between the content of pattern groups and the states in which they exist. For example, in my language for SQL I have [ and ] marked as delimiters for 'square string state'. However, that means I need to add tokens (e.g. a stored procedure name) to a pattern group both under the default state and the square string state. It would be slightly more elegant if I could define the pattern group once, outside of the context of a state, and then include that pattern group in the relevant states.

i.e. instead of:

<State Key="DefaultState">
  <PatternGroups>
    <ExplicitPatternGroup TokenKey="ProgrammableObjectToken">
      ... content ...
    </ExplicitPatternGroup>        
  </PatternGroups>
</State>

<State Key="IdentifierState">
  <PatternGroups>
    <ExplicitPatternGroup TokenKey="ProgrammableObjectToken">
      ... content ...
    </ExplicitPatternGroup>        
  </PatternGroups>
</State>

I might have:

<PatternGroups>
  <ExplicitPatternGroup Name="ProgrammableObjectToken" TokenKey="ProgrammableObjectToken">
    ... content ...
  </ExplicitPatternGroup>        
</PatternGroups>

<State Key="DefaultState">
  <PatternGroups>
    <IncludedPatternGroup Name="ProgrammableObjectToken">        
  </PatternGroups>
</State>

<State Key="IdentifierState">
  <PatternGroups>
    <IncludedPatternGroup Name="ProgrammableObjectToken">        
  </PatternGroups>
</State>

Matt Whitfield United Kingdom

July 22, 2009 at 13:28  

Bill Henning (Actipro)

Thanks for the suggestion Matt, we'll think about this more.   I wonder if we could alternatively do something like define the pattern group like normal in one state, give it a Key (already a property on pattern group), and then have a new tag like PatternGroupRef where you could indicate a Key and that would essentially be a reference to the first pattern group's data.  So PatternGroupRef would be usable anywhere ExplicitPatternGroup or RegexPatternGroup are.

Bill Henning (Actipro) United States

July 22, 2009 at 14:49  

Matt Whitfield

I think that would be even better, actually - good thought! Smile

Matt Whitfield United Kingdom

October 1, 2009 at 09:41  

trackback

Actipro Blog 2009 Q3 posting summary

Actipro Blog 2009 Q3 posting summary

The Actipro Blog - WPF and WinForms Development

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