text-editor

how to create real-time collaborative (multi-user) text editor in ajax

I have to to create an Ajax based live text editor. The specifications are following; • User logs in on the website • User sees the list of logged in users • User selects one of the logged in users let’s say B, if the user B is available (not communicating with any other user), it gets a connection request. If user B accepts the reque...

What are ways to reduce mode errors while learning vim?

I frequently make mode errors while using vim, i.e. I'll start typing text while in Normal mode, or start typing commands while in Insert mode. I understand this goes away with time as vim's quirks seep into your bones, but are there any ways to speed the process? ...

How to get Plain Text from HTML editor in ASP.NET AJAX Control Toolkit?

How to get Plain Text from HTML editor in ASP.NET AJAX Control Toolkit? Editor1.Content gives HTML text like This is <span style=\"font-weight: bold\">BOLD</span> text while i want plain text only This is BOLD text ...

Configure 'Save on losing focus' in visual studio 2010

Is it possible either in the standard build or via a extension to make visual studio 2010 save all unsaved work when I switch focus to another application. It's a feature that IntelliJ and TextMate do rather well (spot the Java developer learning C#) and it means I've gotten out of the habit of saving changes before I switch to the brow...

looking for an open source text editor with very fast 'search in files' capability

Hello, I have this 100.000 files codebase that i need to tame and i need to very often search for the occurences of a specific function call or a function definition. Currently with notepad++ it takes me more than 5 minutes to do the search. Do you know of a programmer's editor that would make the job ? Thank you for your help Jerom...

tinymce: rich text mode, how does it work

I want to understand how tinymce functions. the rich text editor contains an html document within an iframe. how are the nested DOM elements inside editable, In other word how am I able to type inside a <div> or a <p> layer when there is no textarea or input field involved (at least I dont see any)? are the elements converted to input ...

What should I use vim Visual mode for?

I have been using vim for a couple of years now, and though I have learnt a lot of time saving shortcuts, but I have never used the Visual mode, which is supposed to be all powerful : ... Visual block mode (to edit columns) is something many editors lack, but that I can't live without. I have shocked and awed people at work using jus...

How can I minimize keystrokes while inserting similar lines in vim?

Sometimes I need to insert some similar lines in a file which differ only in a sequence number. For example, print "func 1"; print "func 2"; print "func 3"; print "func 4"; print "func 5"; Using vim, I end up copy pasting the first line using [yypppp] and then changing the last four lines. This is really slow if you have more lines to...

Is there a plugin for Gedit to highlight matching HTML tags?

That'd be neat. I couldn't find one using google though. Anyone heard or seen something for Gedit or wanna make a plugin? ...

Java software editor / syntax highlighter

I have to build a software editor for Java, so think of just a very simplified Netbeans / Eclipse. The first area which I want to do is the Syntax Highlighting. I found a few libraries / open source editors such as jEdit, BlueJ and jsyntaxpane which will be useful for building my own. What I am looking for though is any literature / j...

Text Editor issue

I have a word file with comments(from New Comment) entered on it(shown below). When I paste the content from the word file (file content provided with in the block) into the text editor(cute editor) in the compose page, the comments are shown as a hyperlink and the path for the hyperlink will be the compose page. How to remove that hyper...

Text editor which can directly search compressed text files? (only uncompressing them in memory)

I have 20 GB of (uncompressed) log files. They're initially compressed though (as one 70 KB .gz file per log file) and total about 700 MB. I need to browse and search them to diagnose some issues. I don't know exactly what I'm searching for and I probably will need to quickly browse through a couple thousand hits for any search I try. ...

How are text editors generally implemented?

This question is probably going to make me sound pretty clueless. That's because I am. I'm just thinking, if I were hypothetically interested in designing my own text editor GUI control, widget, or whatever you want to call it (which I'm not), how would I even do it? The temptation to a novice such as myself would be to store the conte...

Notepad++ like editor for linux which highlights words on right clicking

Hi, Sorry for the extremely bad title. What I'm looking for is the notepad++ feature where I can highlight words on right clicking and choosing one of the 5 styles (so that all instances of that word get highlighted with that color), in some editor in linux (Red hat). I know this might be a stupid request, but I find that it helps me in...

Text editor that searches within search results

Does anyone know of a text editor that searches within search results using regex? I would like to perform a regex search on several text files and get a list of matches and then apply another regex search on the search results to further narrow down results. I would prefer a Windows GUI editor rather than a specialized editor with a st...

Removing external styles from jQuery WYSIWYG editor in PHP

I have an issue with my WYSIWYG editor. If users copy in outside text, this is seen as something like the following: " p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'; min-height: 13.0px} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Lucida Grande'} Only the variables assigned in the last loop are a...