Find the answer to your Linux question:
Results 1 to 7 of 7
Is there a text editor with a column mode feature similar to Crimson? I am using Red Hat enterprise. Thanks....
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    2

    text editor with column mode

    Is there a text editor with a column mode feature similar to Crimson? I am using Red Hat enterprise.

    Thanks.

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    I'm not sure what you mean by "column mode". The screenshots I see of Crimson look like an Integrated Development Environment (IDE). You can find several of these for Linux, including Anjuta, Eclipse, KDevelop, or XEmacs.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    I'm not sure what you mean by "column mode".
    You can copy and paste vertically. Most editors, when you
    highlight stuff with the mouse, it grabs stuff horizontally,
    but in column mode you can grab a column, whatever width
    you want.

    I was checking my system, and found that KWrite has
    "Block selection mode" in the view menu. That should be it.

  4. #4
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by rcgreen
    You can copy and paste vertically. Most editors, when you
    highlight stuff with the mouse, it grabs stuff horizontally,
    but in column mode you can grab a column, whatever width
    you want.
    Ah. In that case I don't know. I've never used that feature before.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  5. #5
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
    Posts
    1,117
    Hi.

    The table Programming Features on http://en.wikipedia.org/wiki/Comparison_of_text_editors has a feature called Rectangular Block Selection which may be of use to you ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  6. #6
    Just Joined!
    Join Date
    Oct 2006
    Posts
    2
    Thanks. With Crimson, I can hilite a block and when I type a character, it types the character on all of the lines. This is very useful for hdl coding and I use it all of the time. The Kwrite block select function is not the same. I'll keep looking. I have to ditch Crimson soon because we'll be full time on Linux.

  7. #7
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    It's now exactly what you describe but, with vi you can use extensive search and replace by using sed scripting.

    Code:
    mz
    This marks the last line of the text block you want to change.
    Now you have to move to the first line of the block you want to change.
    Code:
    :,'zs/^/bar/g
    From the current line to the marked line (,'z), replace (s///g) beginning of the line (^) with bar.

    I'm sure you could also use the visual highlighting features and block features of vi to highlight a block and work on that block with d for delete and such. I can't figure out how exactly they work though ...
    In vi check out:
    :help visual
    :help block
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...