简体   繁体   English

Flex / AIR / ActionScript 3.0是否有任何文本荧光笔组件?

[英]Is there any text highlighter component for Flex / AIR / ActionScript 3.0?

I need a rich text editor component (like Scintilla ) for a project made in Flex and ActionScript 3.0 . 对于FlexActionScript 3.0中的项目,我需要一个富文本编辑器组件(例如Scintilla )。

Is there any one out there? 有没有人在那里?
If not, is there a way to run Scintilla inside Flash (AIR runtime)? 如果没有,是否可以在Flash(AIR运行时)中运行Scintilla?


Edit: 编辑:

Reading a answer I understood that the question is ambiguous. 阅读答案,我知道这个问题是模棱两可的。
To make it clear, I don't want a WYSIWYG. 明确地说,我不需要所见即所得。 I need a text editor to make a IDE like environment. 我需要一个文本编辑器来制作类似IDE的环境。
Examples are Notepad++, Eclipse, FlashDevelop and such. 示例包括Notepad ++,Eclipse,FlashDevelop等。 (Notepad++ and FlashDevelop uses Scintilla component, as far as I know). (据我所知,Notepad ++和FlashDevelop使用Scintilla组件)。
This is the kind of editor that I want. 这是我想要的那种编辑器。


Edit: 编辑:

@NemoStein I honestly don't understand what specific features you're looking for. @NemoStein老实说,我不明白您要寻找的特定功能。 – www.Flextras.com – www.Flextras.com

Right, so I'll try to explain in another way: 是的,所以我将尝试用另一种方式进行解释:
Suppose that you are trying to build an IDE. 假设您正在尝试构建一个IDE。
This IDE will cover an language, let's say, C++. 该IDE将涵盖一种语言,例如C ++。
Your final user expects highlighting , code completion , a gutter with line numbers , maybe a way to search through code and such features. 您的最终用户期望突出显示代码完成 ,带有行号装订 线 ,也许是搜索代码和此类功能的一种方式。

Scintilla is a component (a .dll, I think, but I never used it, actually) that you can embed in your application that do exactly that. Scintilla是一个组件(我认为是一个.dll,但实际上我从未使用过),您可以将其嵌入应用程序中以实现此目的。

I don't need any code completion (although this could be a huge bonus), but I need text highlighting. 我不需要任何代码完成(尽管这可能是一个巨大的好处),但是我需要突出显示文本。

As I said before, Scintilla do everything that I want to, and much more, but I didn't find any article, tutorial, paper or anything about running it inside ActionScript. 如前所述,Scintilla可以做我想做的所有事情,还有更多,但我没有找到任何文章,教程,论文或有关在ActionScript中运行它的任何内容。

If this doesn't make any sense, please, let me know. 如果这没有任何意义,请告诉我。
I'll try my best to explain. 我会尽力解释。 =D = D

After some time searching, Google led my to this question and, subsequently, to this two links: 经过一段时间的搜索,Google引导我提出了这个问题 ,随后又提出了这两个链接:

I haven't tried any yet, but both seems to do the job. 我还没有尝试过,但两者似乎都能完成任务。
I'll take the first one, as it appears to be (although old) much more mature and flexible. 我将选择第一个,因为它看起来(虽然很旧)更加成熟和灵活。

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

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