Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-12-2007, 01:06 AM   #1
Registered: Apr 2006
Posts: 64
Blog Entries: 2

Rep: Reputation: 15
Txt Edr.- HTML- Custom Saved Code "Snippets"

hi there. i recently discovered a win-based text editor Programmer's Notepad which i've been using for certain "touch-up" jobs in which i need to modify a lot of HTML elements.

i found it very easy to create my own Custom code-snippets, so i seek a Linux FC5 app which might perform similarly.

my snippets are saved, and reusable via an XML file. note, i created these from scratch, realizing that the "horizontal bar" indicates the "cursor position", or "insertion point". if i highlight a line, and 'double-click' my snippet (see below) named "span-class" for example, the result has span elements around the line of text.
the code looks like this:
<clips name="My Custom Clips">
<clip name="CLASS"><![CDATA[ class="|"]]></clip>
<clip name="STYLE"><![CDATA[ style="|"]]></clip>
<clip name="span-class"><![CDATA[<span class="">|</span>]]></clip>
<clip name="li-class-eq"><![CDATA[<li class="">|</li>]]></clip>
<clip name="dt-class"><![CDATA[<dt class="">|</dt>]]></clip>
<clip name="dd-class"><![CDATA[<dd class="">|</dd>]]></clip>
i figured it out just by looking at the "default" snippets. it was simple.

how might i get something like that going in Kate? or gphpedit? or any of the hundreds of other Text Editors-- does anyone use something which might be so "easy to customize" as the XML shown above?
[SNIP (commentary)]


Last edited by WhatsOnYourBrain; 04-01-2007 at 03:25 PM.
Old 04-01-2007, 03:36 PM   #2
Registered: Apr 2006
Posts: 64

Original Poster
Blog Entries: 2

Rep: Reputation: 15
are there truly no text editors available for Fedora Core 5 which offer a "custom snippets" feature similar to that i described above?

the closest thing i can think of is the bluefish custom menu, but the key characteristic i'm looking for, which i liked in the example so eloquently stated above is the ability to edit, for example... a simple XML file in VIM, or nedit if i wanted to.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing "#" character in a huge txt file tmaxx Linux - General 3 10-24-2006 03:04 AM
where is "installed-chrome.txt" file in firefox 1.5 ?? tuxfood Linux - Software 1 12-21-2005 12:44 PM
cannot exit normally after "nohup blablabla > output.txt &" LQYY Linux - Newbie 1 12-14-2004 10:02 AM
Creating a file like "DATE.txt" parker Programming 4 03-10-2004 04:44 AM
view "saved as" LQ page from floppy? toastermaker Linux - Newbie 3 12-14-2003 11:36 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration