Tag Archives: texteditor

ActivePerl Flags

Recently I had to setup Active Perl with Sublime Text 2 in Windows 8. After adding a new build system and setting up the path to perl.exe with the -w flag I wanted to figure out what other flags were available. You can pass perl several flags: bin/perl -w bin/perl -p bin/perl -d bin/perl -i bin/perl -t bin/perl -pe bin/perl -pi Here are what the perl flags do: -i: Modifies your input file in-place -w: Activates some warnings -d: Runs under the Perl debugger -t: Treats certain “tainted” code as warnings -p: Places a printing loop around your command so that it acts on each line of standard input. -e: Allows you to provide the program as an argument rather than in a file.

Posted in Tech Tips | Tagged , , , | Leave a comment

Textmate: Toggle Insert Anywhere

When I click somewhere on a line of text – in the empty space part after content – the cursor moves to the exact position I’ve clicked rather than jumping to the end of the line like every other editor seems to do. This is how to reset this behavior and fix Textmate – that is, to click and have the cursor move to the end of that line and not to the actual position you click with the mouse. This is caused by Freehand Editing mode being turned on. Here are the two editing modes that Textmate allows, and here is how to enable / disable both of them: Freehand Editing (Edit » Mode » Freehand Editing) Allows the caret to move past end of line and inside tab characters. It is also possible to place the caret unrestricted by line endings (and tabs) by holding down ? while placing the caret with the mouse. Overwrite Mode (Edit » Mode » Overwrite Mode) This lets you type over existing text

Posted in Mac, Software, Tech Tips | Tagged , , , , , | 1 Comment

e textEditor: Exporting Themes

Posted in Web Development | Tagged , , , | Leave a comment