text-editor

Elegant way to search for UTF-8 files with BOM?

For debugging purposes, I need to recursively search a directory for all files which start with a UTF-8 byte order mark (BOM). My current solution is a simple shell script: find -type f | while read file do if [ "`head -c 3 -- "$file"`" == $'\xef\xbb\xbf' ] then echo "found BOM in: $file" fi done Or, if you prefer s...

Filtering text through a shell command in emacs

Hello, In vi[m] there is the ! command which lets me pipe text through a shell command -- like sort or indent -- and get the filtered text back into the buffer. Is there an equivalent in emacs? Thanks, Rohit ...

Good Resources For Emacs.

So to give a bit of context, I'm a programmer and my work has me constantly switching between my laptop (Mac OS X) and Linux/Windows machines. I really would love to find a good text-editor for all of these, I've tried vi and it's a great editor for my basic tasks but since I'm doing programming I wanted something a bit more geared towa...

What are your must-have editor features?

What are the 3 killer features of your favourite text editor that you couldn't live without; the features that keep you loyal to your editor, no matter how good other people say other editors are? EDIT: Sorry for what appeared to be a dishonest, or karma whore question. I honestly didn't mean it that way. I have turned it into a commu...

looking for a UTF-8 text editor

I am looking for a (simple) text editor that can handle text in different encodings in the same document. I need to develop some sites with mixed Japanese and English text and the editors I have now (on an English Windows system) are unable to display the Japanese text. Jedit files don't display the Japanese text I have inputted but whe...

Why use monospace fonts in your IDE?

I've seen a couple of font topics on SO and it seems a majority of people use monospace fonts for programming tasks. I have been using Verdana for programming for a couple of years and I really like the enhanced readability, without missing anything monospace related. Why do you use a monospace font? ...

Is it possible to implement Python code-completion in TextMate?

PySmell seems like a good starting point. I think it should be possible, PySmell's idehelper.py does a majority of the complex stuff, it should just be a case of giving it the current line, offering up the completions (the bit I am not sure about) and then replacing the line with the selected one. >>> import idehelper >>> # The path is...

How do I insert a linebreak where the cursor is without entering into insert mode in Vim?

Is possible to insert a linebreak where the cursor is in Vim without entering into insert mode? Here's an example ([x] means cursor is on x): if (some_condition) {[ ]return; } Occasionally, I might want to enter some more code. So I'd press 'i' to get into insert mode, press enter to insert the linebreak and then delete the extra spac...

How can I insert current date and time into a file using Emacs?

What commands in Emacs can I use to insert into the text buffer of a file the current date and time? (For example, the equivalent in Notepad is simply pressing F5 which is about the only useful feature for Notepad!) ...

Ruby and linux, prefered setup?

Mac's have TextMate as there preferred application for ruby development, but what would be the preferred application for linux? I need something where it's easy to work with multiple files, project structure and setup commands to run my ruby app or if it is one my merb app.Syntax highlighting is also a must. Now I typically use Vim, but...

.NET text editor that accepts HTML and input/output with spellchecking

I have been searching for something that does this for a while now, but with no luck yet... We have an internal application that stores/uses text in HTML format. Now I am looking for a new control for editing it. I do not need a full-featured HTML editor, just something that can deal with simple formatting. It also needs spell check...

Best LaTeX editor for Windows

I'm looking for a good LaTeX editor for Windows! ...

auto scolling of JEditorPane

I am using a JEditorPane as an editor to write comments in my application. The content type is set "text/plain". When I am writing text in it and the text fills the available space and I go on typing, the text is not moving upward to show the cursor. So I dont know where I am typing and what I am typing since it would be visible. Could ...

Visual Studio C# statement collapsing

When editing really long code blocks (which should definitely be refactored anyway, but that's beyond the scope of this question), I often long for the ability to collapse statement blocks like one can collapse function blocks. That is to say, it would be great if the minus icon appeared on the code outline for everything enclosed in br...

Automatic spell checking of words in a text

[EDIT]In Short: How would you write an automatic spell checker? The idea is that the checker builds a list of words from a known good source (a dictionary) and automatically adds new words when they are used often enough. Words which haven't been used a while should be phased out. So if I delete part of a scene which contains "Mungrohype...

Asp:TextBox and VNI-Times, Vietnamese Text Problem

I need to be able to allow a user to enter Vietnamese text into a text box. I have been instructed to use VNI-Times and provided a sample word document with Vietnamese text. When I paste the text from the sample document into the textbox it is encoded incorrectly. I have tried installing the font (VNI-Times) on both my machine and the ...

How can I have a portable Emacs?

Is there a way run Emacs from a USB drive? I am a Windows user and I would like to be able use it on any PC without an Emacs install. ...

What are the text editors capable of recording macros?

I am a looking for a good text editor with a simple and powerful macro-recording functionality. Edit: after trying each and every option suggested below, I am still using Textpad on Windows, and vim on Linux (jEdit was a good contender as a macro-capable texteditor on Linux, but the excessive startup time, due to Java, is a no-go for me...

What is your favorite VBScript Editor?

I currently use notepad++ for writing/editing VBScipts, but I am looking for something new (and also free). Anybody have a favorite? I don't have a problem with notepad++; in fact I really like it and I use it a lot, I just want to see what other options are available. I would like to find something that has more of an IDE feel to it,...

Escaping out of the Find and Replace box in Visual Studio 2008

I'm in Visual Studio 2008, and I'm editing a CSS file. I use ctrl+f a lot to find stuff around the file. Once I find something, I'm used to using the Esc key get out of the find window and back into the editor. I'd swear this is how it works when I'm at the office, but at home, I have to hit ctrl+tab to get back to the editor window...