0

Highlight keyword in input

asked 2012-06-14 11:37:24 +0800

Arsen gravatar image Arsen
384 5

Good day, friends.
I'm wirting form with input element where user can input some script on SQL. I want to mark somehow keyword - select, case, from etc. Change color and font weight, like all IIDEs do.
Could anyone help me with it?

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-06-14 11:47:24 +0800

Arsen gravatar image Arsen
384 5

update.
I've read about syntaxhighliter, but it's not exact what I need. I want not to highlight static text, but to highlight it automaticaly during user editing text in input element.

link publish delete flag offensive edit

answered 2012-06-25 08:43:56 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi Arsen,

You can try SyntaxHighlighter

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-06-14 11:37:24 +0800

Seen: 92 times

Last updated: Jun 25 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More