text-editor

Best Free Text Editor Supporting *More Than* 4GB Files? [closed]

淺唱寂寞╮ 提交于 2019-11-28 02:39:58
I am looking for a text editor that will be able to load a 4+ Gigabyte file into it. Textpad doesn't work. I own a copy of it and have been to its support site, it just doesn't do it. Maybe I need new hardware, but that's a different question. The editor needs to be free OR, if its going to cost me, then no more than $30. For Windows. VonC glogg could also be considered, for a different usage: Caveat (reported by Simon Tewsi in the comments , Feb. 2013) One caveat - has two search functions, Main Search and Quick Find . The lower one, which I assume is Quick Find , is at least an order of

What is the best way to force yourself to master vi? [closed]

隐身守侯 提交于 2019-11-28 02:30:46
A good while ago, I read an article by the creator of viemu , clearing up a lot of the misconceptions about vi, as well as explaining why it's a good idea (and why it's been very popular for the last 30 years+). The same guy also has a great set of graphical cheat sheets that teach the basics a few bits at a time. I'm convinced. I've been convinced for the past 2 years in fact. But I still really haven't gotten around to force myself to learn vi as my primary editor, the learning curve is just too high. When I get down to work, acceptable but immediate productivity (using my current editor)

Can you do complex editing of Word Documents in a browser?

三世轮回 提交于 2019-11-28 01:29:39
A friend of mine wants to have an application where people can upload documents in Word (or text) format, and then allow people to make edits to those documents within a browser. Is there any mechanism that would support adding text "bubbles" for adding comments? Either floating, or off to the side. Being able to save back to Word format is a must too. Or at least, some format supported by Word, that would still be editable. Saving it as an image is not acceptable. I was thinking about opening the Word Document in an FCK Editor window, but FCK only seems to have "normal" inline text editing

Eclipse-plugin how to get current text editor cursor position

岁酱吖の 提交于 2019-11-28 01:26:52
I try to show popup dialog at text cursor position of an editor. How can I get text cursor position in pixels of the active editor (Point) and a show popup dialog at this point? I'm not exactly sure what do you mean under "show popup dialog at this point", but do something like this: IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor(); if (editor instanceof ITextEditor) { ISelectionProvider selectionProvider = ((ITextEditor)editor).getSelectionProvider(); ISelection selection = selectionProvider.getSelection(); if (selection instanceof

How to edit files in AWS S3 in the browser?

时光总嘲笑我的痴心妄想 提交于 2019-11-28 00:40:33
I have hosted my Homepage over Amazon's S3 system. In order to change information on the page, currently, I have to change the file on my computer and upload the new version. However, I would like to directly change the file in the S3 bucket within a browser (to change it anywhere). Is there a cloud-based text editor that can use S3 as a "file system" and would allow me to change text files (e.g., html, css, js, etc.)? I would use S3 Sync from the awscli to download the files and edit them locally before syncing them back to their original location and updating the originals. Documentation on

How to get cursor position in an eclipse TextEditor

半世苍凉 提交于 2019-11-28 00:04:43
I have been trying to get the line number and column number of the cursor position in a jface TextEditor. I tried the function getCursorPosition(). But on printing this it shows just a "?". Please note that I need the line number and column number within an editor and not with respect to the screen. I saw that there is a function JTextArea.getCaretPosition. But I dont know how to convert a text editor to JTextArea. Also, is it possible to read the word where the cursor is placed? Thanks From a TextEditor, you can get the document, document provider, and selection. That will give you access to

How to design undo & redo in text editor?

匆匆过客 提交于 2019-11-27 21:23:33
Part of my project is to write a text editor that is used for typing some rules, compiling my application and running it. Writing compiler was end and release beta version. In the final version we must add undo and redo to the text editor. I use a file and save it periodically for the text editor. How to design undo and redo to my text editor? What is changed in the structure of persistent of file? Jordão You can model your actions as commands , that you keep in two stacks. One for undo, another for redo. You can compose your commands to create more high-level commands, like when you want to

Custom background for active window

纵饮孤独 提交于 2019-11-27 21:21:27
How can I configure a different background color for the active window in Emacs? Nicholas Riley If by "window" you mean Emacs' definition of windows, i.e., panes, not really. If by "window" you mean everyone else's conception of windows, which Emacs calls frames, then yes. Here's an example: (defadvice handle-switch-frame (around switch-frame-set-background) (set-background-color "white") ad-do-it (set-background-color "yellow")) (ad-activate 'handle-switch-frame) (defadvice delete-frame (after delete-frame-set-background) (set-background-color "yellow")) (ad-activate 'delete-frame) Try

How to read large text file on windows? [closed]

本小妞迷上赌 提交于 2019-11-27 19:56:37
问题 I have a large server log file (~750 MB) which I can't open with either Notepad or Notepad++ (they both say the file is too large). Can anyone suggest a program (for Windows) that will only read a small part of the file into memory at a time? Or do I need to write my own app to parse this file? 回答1: try this... Large Text File Viewer By the way, it is free :) But, I think you should ask this on serverfault.com instead 回答2: If all you need is a tool for reading, then this thing will open the

How to set working/current directory in Vim?

江枫思渺然 提交于 2019-11-27 17:25:25
So when I want to create a new file by using the :e command I don't want to specify the whole path, just the new filename. Can it be done? As already suggested, you can use autochdir, which will change to the directory of the file you opened, the other option is :cd mydirectory which will change the directory. This can be an absolute or relative path, so :cd .. will move up one level. Or you can use :cd %:h which will also change to the directory the current file is in, but without setting autochdir. :cd will change directory to your home directory (or on windows, print the current directory).