Vitalik
Vitalik

Reputation: 2754

Are there any controls to edit text with intellisense?

Are there any .net controls (hopefully WPF) to enter queries based on application rule engine (or language definition)? Something like SQL with intellisense or Jira advanced filter?

In other words i would like to allow a user to enter something like this into a text area

(type='apple' and color='green' and quantity>10) or (type='tomato' and color<>'red')

and the application would suggest a next valid token like intellisense.

Upvotes: 1

Views: 196

Answers (2)

Jon Skeet
Jon Skeet

Reputation: 1503779

I haven't used it myself, but LINQPad uses Actipro SyntaxEditor, which would at least be worth looking at.

Upvotes: 1

Rob Fonseca-Ensor
Rob Fonseca-Ensor

Reputation: 15621

You could look at using the (standalone) rules engine from Workflow Foundation: http://footheory.com/blogs/bennie/archive/2007/05/10/alternative-applications-for-the-wf-rule-engine.aspx

Upvotes: 0

Related Questions