text-editor

Universal syntax file format?

Hey as a project to improve my programing skills I've begun programing a nice code editor in python to teach myself project management, version control, and gui programming. I was wanting to utilize syntax files made for other programs so I could have a large collection already. I was wondering if there was any kind of universal syntax f...

Conditional statement, etc. organizing in gedit

Hi, I was wondering if it was possible to group/organize conditional statement blocks in gedit in much the same manner as notepad++, via a plug-in or other means. Thanks to all in advance. http://i50.tinypic.com/2vuyd5f.png (Image, for reference.) ...

Gedit adds line at end of page

The answer to this must be somewhere but I'm not finding it -- can anyone help me understand why in Gedit, if I have a page of code there is no extra trailing blank line, but then when I do a file comparison for my svn commit it shows an extra line being added at the end of the file? I have a feeling that Gedit is automatically adding a...

undo continually vi

Hi, I am using vi(not Vim) and I would like to continually undo the changes made. u works for a single command undo and Ufor a single line undo. But Is there a way to undo continuously like vim(I recall a command in vim can even undo changes by time!) in vi? Thanks in Advance. Edit: I am using vi version 3.10 ...

syntax highlighting in vi

Is syntax highlighting there on vi?. I am sshing to an AIX box via putty in windows xp and using vi. I would like to know if there is syntax highlighting feature in vi.(My google-fu failed as all the results pertaining to vi point to vim). If this exists, Is it possible to get the colors in putty?.(I doubt it though, as sending the color...

Using vim, how do you quickly refresh a web page you're working on?

I've been using VIM for a few weeks now while messing with various web languages and I'm really enjoying it. I find it cumbersome having to tab or click into my browser and refresh the page to see the effect of a code change. It's even more annoying as I'm using Virtual Box and I tend to be working from PDF files on the host system so I...

Is there anything like TextMate for the web?

Has anyone built a text editor that has somewhat the same functionality as TextMate but for the web? It would be really cool to see something that: Doesn't have any GUI buttons Has all the base textmate keyboard shortcuts (e.g. highlight text and hit quotes key, and it wraps text in quotes, or hold ALT+SHIFT and highlight text and it ...

Arabic text Editor for website like WYSIWYG editor

Is there any open source text editor like ckeditor that we can embed into our website for arabic input? ...

What are the advantages of using vim to program Ruby (over Notepad++)? (other languages, too, but specifically Ruby)

I've been using Notepad++ for a while; in fact, I've even started using Launchy for that "load this resource into the editor right now" functionality that many fuller IDE's like Eclipse has. It has syntax highlighting, split window view, code collapsing, parentheses (and other delimiter) paring, automatic indent, block commenting. Howe...

Why do we use fixed-width fonts in our IDEs?

Possible Duplicate: Why use monospace fonts in your IDE? Virtually all coders (and code editors) use fixed width fonts. Why is this? ...

How to delete selected text in VI editor

I am using putty and vi editor if select 5 lines using mouse and i want to delete those lines how can i do that Also how can i select the lines from keyboard like in windows i pres shift and move the arrows to select the text. how can i do that in vi ...

How to change text color in TextWrangler on Mac

I cannot figure out how to do this. All I want to do is to select some text and then change the color of that text to red, say. I've lost 20 minutes of my life trying to do this. Typing 'font color' into help search brings up a reference to lesson 2, which doesn't even contain the word font or color. (Is TextWrangler low quality?) How...

Why Action.MoveUp/MoveDown commands in VS2010 disabled?

The VS2010 Power Tools provide functions to move lines up/down but I found these have stopped working. No amount of fiddling, reinstalling Power Tools, rebinding keystrokes, etc. has got them working again. Only after adding the Action.MoveUp and Action.MoveDown commands to my Edit | Advanced menu, where I thought I had seen them before,...

query-replace for macros in emacs?

I use the builtin f3/f4 bindings in emacs a lot to record and repeat macros, and find it to be a very powerful and useful feature, especially when combined with search. However, I noticed recently that whenever I do a query-replace (M-S-5 by default) that recording my macro stops! Is there a way to prevent this? I know that query-replace...

Show Vim omnicomplete on certain characters instead of Ctrl-X Ctrl-O?

In Vim 7, Ctrl-X Ctrl-O shows a list of possible values but I find this sequence of keys to be too long when I frequently use the autocomplete feature. For instance, in an HTML file, I'd like to see the list automatically popup after I type a < followed by one or two letters. In a CSS file, I'd like to see the list after I hit the ":" ke...

Text editor theory

As I'm always dissatisfied with existing editors, a project I always wanted to start is my own text editor. However doing text editing is serious business. Besides analyzing the source code of existing text editors, is there any book or other resource (like academic work) about this topic? I'm interested especially in something that tea...

CL Editor in Java.

Trying to code a basic text editor to play around with Java's file objects and classes. What I cannot seem to figure out is how to go about developing something like the 'nano' interface. Or 'vim' interface, for that matter. File creation is not a problem, its editing on the fly, and post-creation editing, that has just got me. Any ide...

Looking for inline html editor

Hello, I'm looking for a simple javascript html editor that support: using div(contenteditable) insteal of using iframe auto resize content height when typing. support some functions: bold, italic, orderedlist..., could plugin more toolbar button in the furture. Thanks ...

Editor which highlighs closing html/xml tag for a tag?

I am inspecting a huge html file with many levels of nested div tags. I am looking for an editor which clearly tells me where the closing tag is located when I select a tag. In Visual studio the way it works it highlights it but I still can't find it! In Notepad++, it creates vertical lines but with so many lines my eyes get crossed! S...

How to track the changes of a dnn texteditor in a web form during submitting the page?

Hi, I am trying to create a java script function to keep track of the changes made in a web form while submitting the page. For normal .net textbox or textarea I can compare the value with default value. var ele = document.forms[0].elements; for ( i=0; i < ele.length; i++ ) { if ( ele[i].value != ele[i].defaultValue ) return true...