简体   繁体   English

Web应用程序中的Richtextbox并突出显示文本

[英]Richtextbox in web application and highlighting the text

I am a beginner to web application development. 我是Web应用程序开发的初学者。 I am loading some text to the text box and checking for certain errors like if occurring of space before . 我正在将一些文本加载到文本框中,并检查某些错误,例如之前是否有空格. (dot/full-stop). (点/句号)。
I want to display the line no, column no and cursor position of the errors. 我想显示错误的行号,列号和光标位置。 Which control is suited for this. 哪个控件适合于此。 How to find the line no,column no and cursor position and how to highlight the error text in the text box.? 如何找到行号,列号和光标位置,以及如何在文本框中突出显示错误文本。
I have heard that through RichTextBox it is possible, but richtextbox control is not there in web application toolbox controls list. 我听说通过RichTextBox可以实现,但是Web应用程序工具箱控件列表中没有richtextbox控件。

Here is an overview of different rich text editors for the web. 这是 Web上不同的RTF编辑器的概述 My favorite is TinyMCE . 我最喜欢的是TinyMCE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM