[英]Textarea for my web application
I am developing an application web based which would let the users extend a part of an applcation using javascript via java.scripting http://java.sun.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html 我正在开发一个基于应用程序的网站,该网站将允许用户通过java.scripting http://java.sun.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index使用javascript扩展应用程序的一部分。 html
The problem is that the user should write only some coditions and i want if possible to colour some special words and to check while typing if the variable that the user is typing exists.. Like a auto suggest thing... I searched at the web but didnt find many stuff. 问题是用户应该只写一些编码,如果可能的话,我想给一些特殊的单词上色,并在键入时检查用户键入的变量是否存在。像自动建议一样,我在网上搜索但没有找到很多东西。 For WYSIWYG editors i couldnt determine if you can programaticcaly apply stuff and set/get caret position.
对于所见即所得的编辑器,我无法确定您是否可以通过编程方式应用内容并设置/获取插入位置。 Also i show that autosuggest is nearly impossible.
我也表明,自动建议几乎是不可能的。 It should be locatted outside of the textbox area.
它应该位于文本框区域之外。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.