editor

Recover a longer list of recent files from the Matlab editor

六眼飞鱼酱① 提交于 2019-12-22 13:58:31
问题 I have lost the location of a .m file I recently wrote with the Matlab editor. I don't remember how I named it so the usual finder search is not helping. The Matlab editor lets me open 'recent files' but only the few newest. Is there a way to recover a longer list of recently opened files? 回答1: That information seems to be stored in the Matlab preference folder. That folder is given by the function prefdir. Specifically, the file 'matlab.prf' seems to contain the list of recent files. To open

HTML 编辑器大全

江枫思渺然 提交于 2019-12-22 11:36:46
FCKeditor FCKeditor是一款功能强大的开源在线文本编辑器(DHTML editor),它使你在web上可以使用类似微软Word 的桌面文本编辑器的许多强大功能。它是轻量级且不必在客户端进行任何方式的安装。 FCKeditor兼容 Firefox, Mozilla, Netscape 和 IE。 特性功能:所见所得,支持平台众多,支持XHTML 1.0,文本格式设置,常见的编辑,复制,粘贴,撤销,文件上传等功能。 TinyMCE TinyMCE 是一个基于浏览器(例如MSIE或Mozilla)的强大的所见即所得的编辑器,它使用户可以方便的编辑HTML内容。它非常灵活并且是为系统集成而设计的,比如在Intranets、CMS、LMS等系统中应用。 英文文档:http://wiki.moxiecode.com/index.php/TinyMCE:Index TinyMCE 中文手册: http://www.leexuan.com/manual/TinyMce/index.html SPAW Editor SPAW Editor是一个功能强大,高度可定制,多语言支持,可更换皮肤的WYSIWYG编辑器。支持PHP与ASP.NET。 InnovaStudio WYSIWYG Editor 一款基于web的WYSIWYG(所见即所得)的HTML编辑器,支持ASP, PHP,

Wordpress WYSIWYG editor automatically adding span classes with style

久未见 提交于 2019-12-22 11:35:18
问题 For some reason my WYSIWYG editor in Wordpress automatically adds span classes with style when I create a bullet list with the button. It's very annoying because I want my text to be a certain size, but the span class hardcodes the style and it messes the size up. Does anyone know how to remove this automatic adding of the span class? This site is for a customer and he/she doesn't know how to use HTML, that is why this has to work with the WYSIWYG editor. Help much appreciated. Thanks. 回答1: I

Get XY position from caret position in JTextArea

为君一笑 提交于 2019-12-22 10:44:17
问题 I'm trying to make an editor which have ability show pop up (JPopupMenu) each time users type any letter. Maybe, to imagine how my editor works its like any compiler, such as NetBeans when we type dot, the function appear. I have learned JPopupMenu from here. JPopupMenu needs XY position. My idea is to get XY position from JTextArea's caret position. My question is: Is there possible to get XY position from caret position (text cursor) in JTextArea or other JTextComponent? Or maybe is there

How to write custom autocompletion in Xtext?

半世苍凉 提交于 2019-12-22 10:33:02
问题 I just can't find anything about this, only sources about writing a custom autocompletion proposal, which is not what I want (or is it)? Syntax We can use the example syntax for this: Model: greetings+=Greeting*; Greeting: 'Hello' name=ID '!'; Problem Now, when the user creates a new instance of the syntax, he has to Write "Hello" (and could complete it) Has to write a space Can now autocomplete the "Name=ID" But this is not what I want. What I want When the user completes "Hello", I want the

Postgres on the command line with external editor not running query

▼魔方 西西 提交于 2019-12-22 09:36:52
问题 When I run \e on the command line while logged into the psql command line tool, my default editor, sublime text, duitifully opens. However, when I type in a query like this: create table tutorials ( tutorial_id serial primary key, title text, author_id integer references authors(author_id) ); Then hit save and exit, nothing happens! My query is not run. What am I doing wrong? How do I fix this? 回答1: I had a similar problem until I added the -w switch to export EDITOR. From http://www

N个富文本编辑器/基于Web的HTML编辑器

本秂侑毒 提交于 2019-12-22 08:21:19
转自:http://www.cnblogs.com/lingyuan/archive/2010/11/15/1877447.html 基于WEB的HTML 编辑器,WYSIWYG所见即所得的编辑器,或是一个富文本的编辑器,是我们在开发WEB应用时接收用户输入时必需要考虑的问题。下面是一些开源的WEB在线的WYSWIG编辑器。 1. FCKeditor FCKeditor 这些在线编辑器中最著名的一个,其功能相当的强大,很像一个Web的Word软件。它可以方便地和ASP, ASP.NET, PHP, Java, Perl, Phyton 等Web开发语言所集成。并支持皮肤,拼写检查。其还可以配置成一个轻量级的编辑器。而且,它还有很多相当酷的功能。 2. NicEdit NicEdit 是一个基于Javascript. 编辑器,它可以很容易地被集成到任意的网页中。它还可以把网页上任何的element/div 转成可以编辑的标准的控件。 3. TinyMCE TinyMCE 是另一个很有名的所见即所得的编辑器,其受LGPL license控制。Wordpress的编辑器用的就是TinyMCE的。 4. jwysiwyg jwysiwyg 是一个基于 jQuery 的WYSIWYG 插件,相当小,只有7kb的大小,而且相当的简单易用。但功能不多。 5. Yahoo! UI Library:

Underline format problem

时光总嘲笑我的痴心妄想 提交于 2019-12-22 08:05:48
问题 According to the documentation i would like to overwrite predefined formats using this settings: formats: { bold : {inline : 'b' }, italic : {inline : 'i' }, underline: { inline: 'u' } }, I insert "this is a text" into the editor and press the underline-button. This is the result (this gets saved to database too): <p>thi<span style="text-decoration: underline;">s is a t</span>ext</p> Why do i get no u-tags, but the predefined span with underlined style? How do i get my lovely u-tags here?

How to repeatedly add text on both sides of a word in vim?

折月煮酒 提交于 2019-12-22 07:47:45
问题 I have a bunch of local variable references in a Python script that I want to pull from a dictionary instead. So, I need to essentially change foo , bar , and others into env['foo'] , env['bar'] and so on. Do I need to write a regular expression and match each variable name to transform, or is there a more direct approach that I could just repeat with the . command? 回答1: You can use a macro: type these commands in one go (with spacing just to insert comments) " first move to start of the

How to repeatedly add text on both sides of a word in vim?

那年仲夏 提交于 2019-12-22 07:47:09
问题 I have a bunch of local variable references in a Python script that I want to pull from a dictionary instead. So, I need to essentially change foo , bar , and others into env['foo'] , env['bar'] and so on. Do I need to write a regular expression and match each variable name to transform, or is there a more direct approach that I could just repeat with the . command? 回答1: You can use a macro: type these commands in one go (with spacing just to insert comments) " first move to start of the