Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Mar 26, 2015
  1. @sorbits

    Make Insert Block Comment work with discontinuous selections

    sorbits authored
    This only works when none of the discontinuous selections contain newlines.
Commits on Aug 16, 2014
  1. @infininight

    Use latest version of ruby rather than the shim

    infininight authored
    This allows ruby to correctly match unicode characters when 2.0 is present. Fixes #18.
Commits on Jul 8, 2014
  1. @dlh @infininight

    Allow TM_COMMENT_DISABLE_INDENT to be negated

    dlh authored infininight committed
    If a bundle by default set TM_COMMENT_DISABLE_INDENT to 'yes', then it could not be disabled through use of a .tm_properties file or by the “Variables” section in the Preferences pane.
Commits on Jun 18, 2014
  1. @infininight

    Point to ruby 1.8 shim

    infininight authored
    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    
    #ignore
Commits on Apr 28, 2014
  1. @sorbits

    Strip trailing whitespace when inserting/removing comments

    sorbits authored
    Trailing whitespace can happen when removing comments from empty lines (with indented comment markers) or when the comment marker itself has whitespace and is inserted on an empty line (e.g. prefixing empty lone with ‘# ’).
Commits on Apr 18, 2014
  1. @sorbits

    Only change indent when pressing { or } when >1 line is selected

    sorbits authored
    The use case is code like:
    
        if(foo)
            statement;
    
    If we want to add more statements (under the if block) then we need to wrap the statement in braces but don’t want the indent changed.
    
    Likewise we may be left with a single statement in the block and prefer the non-braced version.
Commits on Dec 27, 2013
  1. @infininight

    Use version 1.8 of ruby for bundle items

    infininight authored
    10.7 and 10.8 only include ruby 1.8, so all bundle items have been written to work with that. Optionally supporting ruby 1.9 and 2.0 is problematic as these versions are not fully backwards compatible.
    
    #ignore
Commits on Jul 27, 2013
  1. @infininight

    Use version 1.8 of ruby for bundle items

    infininight authored
    10.7 and 10.8 only include ruby 1.8, so all bundle items have been written to work with that. Optionally supporting ruby 1.9 and 2.0 is problematic as these versions are not fully backwards compatible.
    
    #ignore
Commits on Jul 21, 2013
  1. @sorbits

    Limit amount of indent for soft wrapped line comments

    sorbits authored
    We now re-use the line’s indent and add at most 4 more spaces. This should avoid the bad cases with long lines causing the comment to be wrapped with a problematic small width.
Commits on May 9, 2013
  1. @sorbits

    Shell scripts are made executable on save

    sorbits authored
    Previously only ruby, perl, and python scripts (with a shebang) were made executable.
Commits on Mar 14, 2013
  1. @sorbits

    Typing single-quote with selection in string will wrap selection

    sorbits authored
    Normally we have single-quote disabled as a paired character for strings (and comments) but when there is a selection it’s more likely that the user wants to wrap the selection than replace selection with a single-quote character.
  2. @sorbits

    Disable indent corrections for quoted strings

    sorbits authored
    Previously this was only done for strings in PHP sources but it makes sense to set globally.
Commits on Mar 13, 2013
  1. @sorbits

    Ignore block-comments when estimating indent

    sorbits authored
    This setting was previously found in the C bundle.
Commits on Feb 19, 2013
  1. @sorbits
Commits on Feb 7, 2013
  1. @infininight

    Don't re-indent code as it is being commented in/out.

    infininight authored
    When commenting or uncommenting text we want to leave the text as it is rather than indenting to the point of the first like a normal command.
    
    Fixes textmate/textmate#387, however it will require a TextMate update as this flag is not currently enabled in 2.0.
  2. @infininight

    Don't enable spell checking for strings in embedded code.

    infininight authored
    We enable spell checking for strings in the source scope which allows sensible spell checking. However inside of the text scope we want to not enable these when they appear in embedded source code (eg: PHP) as it is more common to want to have spell checking enabled in text files without getting it in the source portion.
Commits on Jan 29, 2013
  1. @sorbits

    Disable indent auto-corrections for comment blocks

    sorbits authored
    Languages do not have indent patterns that handle (block) comments, so TextMate basically never does the right thing inside these.
    
    Ideally we would also disable it for the line following the block comment (since the estimated indent there is thrown off by the block comment), but that is presently not possible. Users can disable auto-corrections for the entire file scope, should they run into this a lot.
    
    Closes textmate/textmate#721.
Commits on Sep 30, 2012
  1. @sorbits

    Update scope for wrap/unwrap actions

    sorbits authored
    These are now scoped so they only fire when there is a single continuous selection, as presently, they do not work for discontinuous selections.
Commits on Sep 19, 2012
  1. @sorbits

    Preserve selection for large selections

    sorbits authored
    If selection is larger than ARG_MAX (256 KB) then TM_SELECTED_TEXT will be set to a placeholder value.
  2. @infininight
Commits on Sep 5, 2012
  1. @sorbits

    New “Strip Wrap Characters” action bound to ‘]’

    sorbits authored
    This will strip a single pair of leading/trailing braces, quotes, and similar. It also works to strip an Objective-C string: @"foo" → foo.
    
    The command is only active when there is a selection.
    
    Presently no effort is done to actually ensure the stripped characters are actually balanced. It doesn’t seem like any real benefit would be derived for adding this complexity.
Commits on Aug 16, 2012
  1. @DGrady @infininight

    Fixed Reformat Comment to use a default value of 80 when there is no …

    DGrady authored infininight committed
    …TM_COLUMNS environment variable
  2. @elia @infininight

    Fix "Move to BOL and Insert LF" for first line

    elia authored infininight committed
  3. @infininight
  4. @infininight
  5. @infininight
  6. @infininight
  7. @infininight
  8. @infininight
  9. @infininight
  10. @infininight

    Add readme.

    infininight authored
  11. @infininight
  12. @infininight
  13. @infininight
  14. @infininight

    Add command to make scripts executable on save.

    infininight authored
    Scoped to perl, python and ruby.
Something went wrong with that request. Please try again.