Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Jul 2015, 17:15
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
minimum profit text editor
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 18 May 2008
Posts: 4519

PostPosted: Wed 10 Nov 2010, 07:18    Post_subject:  minimum profit text editor  

A gtk text editor with highlighting for programmers
* Fully scriptable using a C-like scripting language.
* Unlimited undo levels.
* Complete Unicode support.
* Multiple files can be edited at the same time and blocks copied and pasted among them.
* Syntax highlighting for many popular languages / file formats: C, C++, Perl, Shell Scripts, Ruby, Php, Python, HTML...
* Creative use of tags: tags created by the external utility ctags are used to move instantaneously to functions or variables inside your current source tree. Tags are visually highlighted (underlined), and symbol completion can be triggered to avoid typing your own function names over and over.
* Intelligent help system: pressing F1 over any word of a text being edited triggers the underlying system help (calling man when editing C or Shell files, perldoc with Perl, ri on Ruby, winhelp on MS Windows...).
* Understandable interface: drop-down menus, reasonable default key bindings.
* Configurable keys, menus and colors.
* Text templates can be easily defined / accessed.
* Multiplatform: Console/curses, KDE4, GTK+, MS Windows.
* Automatic indentation, word wrapping, internal grep, learning / repeating functions.
* Spellchecking support (via the ispell package).
* Multilingual.
* Password-protected, encrypted text files (using the ARCFOUR algorithm).
* It helps you abandon vi, emacs and other six-legged freaks definitely.
Edit: forgot to mention: I compiled this in wary-094 and patched the UI to have the document tabs on the same line as the menus and to give a popup menu to select files with a right click (better use of screen space for netbooks etc...) - I'll post the patch ASAP - already sent 1 patch upstream to Angel Ortega. Check out his site (triptico.com) There are lots of gems there.

Filename  mp-5.2.0-i486.pet 
Filesize  87.55 KB 
Downloaded  272 Time(s) 

Filename  mp_NLS-5.2.0-i486.pet 
Filesize  45.91 KB 
Downloaded  233 Time(s) 

Filename  mp_DOC-5.2.0-i486.pet 
Filesize  149.1 KB 
Downloaded  249 Time(s) 

Filename  mp-5.1.4-i486.pet 
Filesize  128.84 KB 
Downloaded  355 Time(s) 
 Filesize   55.71 KB
 Viewed   2474 Time(s)


Web Programming - Pet Packaging 100 & 101

Back to top
View user's profile Send_private_message 

Joined: 26 May 2009
Posts: 301

PostPosted: Wed 10 Nov 2010, 08:17    Post_subject:  

thanks to this.. Very Happy
Back to top
View user's profile Send_private_message Visit_website 

Joined: 18 May 2008
Posts: 4519

PostPosted: Tue 04 Oct 2011, 01:18    Post_subject:  

with nicoedit going away, I thought I would post a new gtk version of mp (it is the same size as the console version, but supports both gtk and ncurses)

from Angel's site @ triptico.com
Minimum Profit 5.2.0 released

I've just released version 5.2.0 of the Minimum Profit Text Editor. It features the following:

    * New actions:
          o filter_selection: to filter the selection (or the full document if no selection is done) through a system command.
          o exec_action: that shows a list of actions to execute on the current document.
          o cut_lines_with_string: that cuts to the clipboard all lines in a document or block that matches a regular expression.
          o insert_real_tab: bound to shift-tab, to insert a tab character (\t) regardless of whatever is set in the tabs_as_spaces configuration variable.
          o insert_next_item: to insert a new enumeration item in a document.
    * Bugfixes:
          o Fixed insert / overwrite mode.
          o If a selection is invisible (incomplete or with the start and end in the same character), a new keystroke does not jump to it.
    * New configuration options:
          o mp.config.hw_cursor: to activate the hardware cursor in text environments (disabled by default).
    * Text user interface improvements:
          o File opening list is fully navegable (directories up and down),
          o Selection lists accept letter keys to jump to elements,
          o If a text mode menu panel do not fit vertically on the screen, menu items are scrolled as needed.
    * New command line options:
          o -txt: force text mode (instead of GUI).
    * General improvements:
          o If a block is selected, actions word_wrap_paragraph, join_paragraph and eval_doc act only on it.
          o The internal engine has been partly rewritten, so it requires less memory and it's a bit faster.

Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 

Joined: 11 Apr 2007
Posts: 900

PostPosted: Tue 04 Oct 2011, 22:26    Post_subject:  


Thanks for bringing this editor. It has a nice clean interface and many handy features.

One feature of Geany that I like is the "set custom commands" feature which allows you to send the current selection in geany to any outside system command (script) and the output of that command script replaces the current selection.

It's very handy for text processing - boxing text areas, CamelCasing, awking, etc.

I see some possible commands in mp (exec_action, exec_command, and filter_selection) for processing text, but nothing seems to actually replace the current selection.

Perhaps one could code this using the MPSL (Minimum Profit Scripting Language) or maybe I just missed how this is done.

Back to top
View user's profile Send_private_message 

Joined: 18 May 2008
Posts: 4519

PostPosted: Wed 05 Oct 2011, 22:37    Post_subject:  

Mp seems to have the same capability (i haven't used it), but the one thing keeping me from using it regularly instead of geany, is the lack of code folding (this is a personal coding style issue)
It does have some unique features though. Encryption, hex editor, mpsl scripting... ultra-portability (any system with curses, qt, gtk, or kde ... I use the old gtk1 version on my geode boxes)

BTW has anyone figured out the maze.mpsl? Sounds cool.

Some features require tools that aren't standard in puppy...ex:
Spellcheck requires ispell
Command help uses man and perldoc.
Probably more that I don't know of.

Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0591s ][ Queries: 12 (0.0043s) ][ GZIP on ]