Search found 9 matches

by peterl
Sun Mar 17, 2013 3:35 am
Forum: Enhancement Suggestions
Topic: Python syntax checker included
Replies: 3
Views: 1802

Got the syn file, but should be included

Yes, I know that there is a variety of Textpad syntax check files available for Python. But my point is that one should be included with Textpad. I'm installing it on a new machine, I need to install Textpad, download the syn file, create a new doc class, set the syntax file. If the syntax checker ...
by peterl
Mon Mar 11, 2013 3:51 am
Forum: Enhancement Suggestions
Topic: Python syntax checker included
Replies: 3
Views: 1802

Python syntax checker included

I am a professional Python developer. I find it frustrating and surprising that Python syntax checking is not included. It's a pain to go and download the syn file, install, configure. Python is now a more popular programming language than Perl (according to tiobe), so it really should be included ...
by peterl
Thu Nov 25, 2010 8:29 pm
Forum: Enhancement Suggestions
Topic: Python Document class
Replies: 2
Views: 931

Thanks Peter. Yes, I have the addon and have it configured. But whenever I move to a new machine etc it's a bit of a pain. Python programmers are also very picky about their indentation levels, and use of spaces vs tabs. Would like to see Python in as a pre-installed document class. Would be good ...
by peterl
Mon Nov 22, 2010 4:23 am
Forum: Enhancement Suggestions
Topic: Intelligent Line Commenting
Replies: 3
Views: 995

Agree

I agree too this would be good.
IDEs often use Ctrl-3 or Alt-3 to comment and Ctrl-Shift-3 or Alt-Shift-3 to uncomment. I like this because # is used by lots of scripting languages for commenting, so it's an obvious one to remember.
by peterl
Mon Nov 15, 2010 4:58 am
Forum: Enhancement Suggestions
Topic: Python Document class
Replies: 2
Views: 931

Python Document class

I'm a heavy user of both TextPad and Python. I'd like to see Python as a standard installed Document class (Yes, I know everyone want their favourite language to be standard). Perl is in by default, but according to http://www.tiobe.com/content/paperinfo/tpci/index.html Python has way higher rating ...
by peterl
Fri Nov 30, 2007 4:24 am
Forum: General
Topic: Can Textpad fill numbers?
Replies: 3
Views: 725

Grab youself perl from http://www.activestate.com/solutions/perl/
Then try this:

Code: Select all

type originalfile.txt | perl -ne "s/RPT(\d{3})/sprintf('H%03i',$1-1)/e;print" > newfile 

Peter
by peterl
Wed Nov 21, 2007 11:48 pm
Forum: Enhancement Suggestions
Topic: Compare buffers
Replies: 1
Views: 365

Compare buffers

There's a simple improvement I would find useful. I'd like to be able to compare two buffers in mmory, as opposed to compare of physical files stored. Lacking a good diff in many programs, I often copy code or data from those programs (before and after) and paste into new (unsaved) documents in ...
by peterl
Tue Jul 24, 2007 12:08 am
Forum: General
Topic: Current Line coloring = Removing dashed line above and below
Replies: 5
Views: 702

I don't think the issue is actually setting the color, rather the issue is setting of the dashed line. I think the original poster wants the line highlighting color, but without the dashed line above and below the current line. Try setting the current line color foreground and background to the same ...
by peterl
Mon Jul 23, 2007 11:21 pm
Forum: General
Topic: Current Line coloring = Removing dashed line above and below
Replies: 5
Views: 702

Not that I know of. Seems like there's a bug here. When you choose current line highlighting, (under Configure, Preferences, View, untick 'Highlight the line containing the cursor') then it will use the colors defined in (Configure, Preferences, Document Classes, (the class you want to change ...