• 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 for WPF - Input on find/replace functionality

April 1, 2009 at 11:36 PM
by Bill Henning (Actipro)

We’ve spent the past several days working on find/replace functionality in SyntaxEditor for WPF.  This is one of the few remaining feature areas that needs to be finished before we release a public beta.

The core document find/replace model has been in place for a while now, but we’ve started working on the view find/replace model.  The view model is more interactive with the UI view such as where the caret is, when you search past the end of the document, etc.  The view model harnesses the searching functionality provided by the core document model. 

Editor search control UI

One thing we’ve been wanting to do for a while is make a standard WPF control that can be styled/templated but provides a good default implementation of a find/replace control like in Visual Studio.  We just completed the UI for that control.  Let’s take a peek…

FindReplace1

The EditorSearchControl in “find” mode and appearing within a Docking/MDI for WPF tool window

The EditorSearchControl looks like the above screenshot by default.  You can click between the Quick Find and Quick Replace buttons to toggle the mode of the control. 

FindReplace3

The EditorSearchControl in “replace” mode

In the above screenshot, we clicked the Quick Replace button and the Replace with textbox, Replace and Replace All buttons animate and slide into view.  It’s a really neat effect.  In this mode, you can do replaces instead of standard finds.

You can click the “+” button or the Find options header to expand out the options panel.

FindReplace2

The EditorSearchControl in “replace” mode with its options panel expanded

This screenshot shows the options panel (which also animates into view), where you can set common find options.

You can set the mode programmatically.  You also can choose to place the control in your own window or container, and even have an option to hide the mode toolbar at the top.

All in all, we think this will be a very nice implementation for driving the search functionality in your SyntaxEditor implementations.

Getting your feedback

As we begin work on tying together the UI seen above with the core document find/replace functionality, we would like to get your feedback.

Do you have any suggestions for improving the UI further?  Do you like what you see?  Please post some comments.  Thanks!

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

Related posts

WPF Studio 2009.1 build 504 released, adding DataGrid functionality, SyntaxEditor enhancements, and much moreWe’ve just released WPF Studio 2009.1 build 504.  This is a huge update and includes some major...Actipro SyntaxEditor for WPF and Editors for WPF are released SyntaxEditor for WPF with a custom theme loaded Yesterday evening we published WP...SyntaxEditor for WPF - Need input on highlighting style configurationSorry we haven’t made any new SyntaxEditor for WPF posts recently.  We’ve been hamm...

Comments

March 31, 2009 at 10:16  

Boyd Patterson

New form looks great.  I look forward to seeing the live animations.

Boyd Patterson

March 31, 2009 at 15:33  

Jesper

It looks good and animation sounds great. I hope the source to this control will be available like for the Windows Forms dialog so you can customize it.

Three find-related ideas for the future:

* Syntax highlighting for the regular expression, maybe even pairing up captures and replacements with like colors.

* The option to have a "find bar" to quickly perform incremental search with GUI. I tried implementing this using the Windows Forms version's support but I couldn't piece together the sufficient API since it's more or less one event. It's probably not impossible, but it wasn't obvious.

* Scroll bar ticks for incremental search results. See Google Chrome or a number of other apps.

Jesper

August 18, 2009 at 08:04  

trackback

Actipro Blog 2009 Q2 posting summary

Actipro Blog 2009 Q2 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