View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 3.25 KB File ID: #25122 Version: 1.0




Collection of small macros for text manipulation

| Watch this File

File Information

TextTools provides a small collection of macros for text manipulation. They are intended to be used together with EditorMacro
Included macros are:
              Swap characters around the caret
              Swap words around the caret
              Capitalize word starting from caret location
              Wrap current comment paragraph. Selects current comment paragraph and wraps and indents it.
              Follows Editor's comment width preference.

     tt = TextTools;
     ttMacro = TextTools(MacroName)
     tt = TextTools;
     This code heavily relies on undocumented and unsupported Matlab functionality. Use at your own risk!


Editor Macro Assign A Macro To A Keyboard Key Stroke In The Matlab Editor And Command Window inspired this file.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us