Text Editor

This is a discussion on Text Editor within the Tech Board forums, part of the Community Boards category; I would like two functionalities on text editors in general 1) When changing a page the rest of the pages ...

  1. #1
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853

    Text Editor

    I would like two functionalities on text editors in general
    1) When changing a page the rest of the pages don't get affected. For example, when delteting a text the text from the next page doesn't move up. My goal is to keep pages intact. Usually when I press enter everything in the whole document goes down.
    2) To be able to move a whole text left or right. Like a piece of code moving right/left. By moving right left I mean entering/deleting spaces infront of every line in a selected piece of code

    Can those two things be done in text editors? Maybe there is a way but haven't figured it out. I am speaking for both IDE for coding and text editors like MS Word, Writer on OpenOffice

    Thanx

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,475
    Text Editors? or Word Processors?
    Text editors are things like notepad or TextPad. Word Processors are the programs you gave an example of.

    Quote Originally Posted by C_ntua View Post
    1) When changing a page the rest of the pages don't get affected. For example, when delteting a text the text from the next page doesn't move up. My goal is to keep pages intact. Usually when I press enter everything in the whole document goes down.
    This is done by simply inserting a PageBreak above the point where you want to start a new page. Any text above it will not affect the text below.

    2) To be able to move a whole text left or right. Like a piece of code moving right/left. By moving right left I mean entering/deleting spaces infront of every line in a selected piece of code
    This is achieved by editing in Column Mode. Now, I'm unsure if Word Processors have column mode. Many Text Editors have it. But I don't think Microsoft Word does, for instance. However you can create text regions. In Word they are called Text Boxes and are accessible from the Insert Menu. This will allow you to create a region for text you wish to freely move around the page.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    MTK
    MTK is offline
    Registered User
    Join Date
    Aug 2009
    Posts
    198
    What? Are you writing code in a word processor?!?!

  4. #4
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Thx, I ll look them up.
    Not writting code in word processor, but wanted the two features for both coding and writting. Was just easier to ask here than google

  5. #5
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    It does sound like you want a word-processor over a text or presumably programmers editor. Requirement #1 makes no sense in any language I have ever coded in...requirement #2 is available in most editors (Emacs for example). Note that because Python is indentation-sensitive an editor that supports that will have something to handle requirement 2 pretty much front and center such as Dr. Python on Linux.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating very simple text editor using c
    By if13121 in forum C Programming
    Replies: 9
    Last Post: 10-19-2010, 05:26 PM
  2. text editor
    By akki in forum C Programming
    Replies: 5
    Last Post: 07-11-2009, 02:05 PM
  3. C++ For Text Editor?
    By bmroyer in forum C++ Programming
    Replies: 12
    Last Post: 04-05-2005, 02:17 AM
  4. struct question
    By caduardo21 in forum Windows Programming
    Replies: 5
    Last Post: 01-31-2005, 03:49 PM
  5. help about text editor
    By nag in forum C++ Programming
    Replies: 2
    Last Post: 04-24-2003, 11:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21