Request - modularize the renderer
Splitting this out to a separate question
As a heavy user of txt2tags in many different contexts, I have been using Rednotebook as a general editor because of its brilliant (and apparently unique) "View mode" display renderer. (I just copy a file's text into an empty date, then cut and paste it back out when done).
I think it would be of great service to the opensource community if that part of RN's code could be made available for more general use, by splitting it out as a Python "module", primarily to be used by RN, but with API/hooks whatever (I'm not a programmer) so that it could be put to more general use.
As a user, from the POV of an end result I'm thinking of two approaches that would work well.
A. Create a standalone txt2tags browser/viewer "applet", working code name "t2View" - on the left side is a file browser, on the right is a View pane, as you arrow up-down a folder it displays the rendered files. Ideally you could double-click or hit enter to open the text file in whatever editor you choose, perhaps via a configuration option, or simply relying on the underlying OS's file launching. It might be a bit premature to add another feature request, but this would be handy even for RedNotebook itself - allow for "outline folding" of section hierarchies based on txt2tags headings syntax
- see http://
for a Vim example that does this for many markup syntaxes
B. Create an add-on for one or more full-featured text editor/IDE environments. My first choice would be Vim, able to be integrated into the same platform as the above tool, and ideally able to be integrated with a full-blown Cream environment:
- http://
which is actually just a set of Vim plug-ins and scripts, uses Vim's own extensibility
- http://
however not dependent on Cream, as it doesn't have any Mac support, just Linux and windoze
I'm also a heavy jEdit user, so a plugin for that would be great, along the lines of
- plugin http://
would be lovely. However, since you're a Python guy, the remaining pointers are to editors/IDEs that are actually written in Python, as I assume such would be easier for you to implement such an idea.
This would be so cool for me that I'd switch to basically ANY editor you chose 8-)
So here's a list, in my order of perceived general usefulness/
gEdit http://
Leo
http://
Spyder http://
PyPE http://
DrPython http://
Eric http://
Crisp http://
Editra http://
UliPad http://
gEcrit (beta) http://
Sorry to blather on at such length, but you can tell I'm a fan 8-)
Even if you don't pick up on it, perhaps a programmer googling across this might be inspired, that's the beauty of open-source!
-- Edit - not sure if this is a third option C or a subset of A, but if nothing else, it would be great to simply allow for viewing a single file, so I could associate say ".t2t" files with t2View, both from my OS file browser and as to "preview" my files from within any text editor.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- RedNotebook Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- HansBKK
- Solved:
- Last query:
- Last reply: