Permalink
Commits on Aug 29, 2016
  1. Fix hex entities with uppercase X not recognized

    TextMate recognizes `¾` but not `¾`
    kainjow committed with sorbits Aug 29, 2016
  2. Edit contents of tag created via ⌃W

    It's now possible to: press ⌃W, type the tag name and attributes, ⇥, type it's contents, then ⇥ again to exit the tag.  Previously, it wasn't easy to reach the tag contents.
    
    The existing functionality of having selected text then pressing ⌃W to enclose it between tags remains.
    dipnlik committed with sorbits Aug 19, 2015
Commits on May 19, 2016
Commits on May 18, 2016
  1. Change script to support Safari from 10.11.5 update

    Safari now requires toggling an option to allow javascript to be run through Apple events, we now get the url of the current tab and set it as the url to reload avoiding needing to toggle this option. Fixes #41.
    infininight committed May 18, 2016
Commits on Feb 11, 2016
  1. Refresh Running Browsers no longer requires each to be installed

    When converting this to a standalone script it inadvertently also asked for the location of each browser, with a few tricks this no longer happens.
    infininight committed Feb 11, 2016
Commits on Jan 8, 2016
  1. Correct indentation rules for <wbr> tag

    This tag is always stand alone (no closing tag).
    infininight committed Jan 8, 2016
Commits on Dec 19, 2015
  1. Remove conditional from Preview in All Active Browsers

    This is no longer needed as support was cut for 10.4 and under long ago.
    infininight committed Dec 19, 2015
  2. Switch to pure AppleScript for Refresh Running Browser(s)

    This simplifies the script as Safari has ballooned into many separate processes some which are left open without Safari. Removes support for Internet Explorer because… yeah… also removes support for OmniWeb as will not currently run under El Capitan. Adds support for WebKit nightly releases.
    
    Note: Due to AppleScript features used this now requires 10.5+
    infininight committed Dec 19, 2015
Commits on Nov 14, 2015
Commits on Jul 14, 2015
  1. Change regex to match HTML tags better

    Since 04a714a one can use Select Enclosing Typing Pairs for HTML tags. This fails short if custom HTML tags are in between, like Angular directives (which contain dashes, "-") or some of the tags Facebook uses for its integration stuff (which contain double colons, ":").
    
    With this change, one can select the typing pairs properly.
    kaiwood committed Jul 14, 2015
Commits on May 9, 2015
  1. Remove title and charset on link tags

    Same result of #36, but for drag-and-dropped stylesheets
    mcdado committed with infininight Dec 4, 2014
Commits on Mar 30, 2015
Commits on Sep 29, 2014
  1. Remove title and charset attributes from link tags

    While 'charset' is plainly discouraged (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-charset), title attribute on link tags is something rarely used and with implications that authors might not be aware of (http://stackoverflow.com/a/1959975/1092853).
    mcdado committed Sep 29, 2014
Commits on Jun 18, 2014
  1. Point to ruby 1.8 shim

    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    
    #ignore
    infininight committed Jun 18, 2014
Commits on Apr 29, 2014
  1. Removed charset on inline script tag

    See [this article on html optimization](http://perfectionkills.com/optimizing-html/#8_script_charset) for the rationale on this.
    mcdado committed Apr 29, 2014
Commits on Apr 17, 2014
  1. Restrict scope of embedded JavaScript

    Should match every proper case now:
    
    - lower case / upper case
    - single and double quotes and leaving quotes out (see HTML5 spec) after the type attribute
    - without type attribute (defaults to JavaScript as of HTML5)
    
    Closes #22
    kaiwood committed Apr 17, 2014
Commits on Mar 17, 2014
  1. Don't set disableIndentCorrections for embedded source

    This scope closely mirrors the `text - text source` scope of the similar setting in the Text bundle. This allows indentation to work unhindered in embedded source such as PHP.
    infininight committed Mar 17, 2014
Commits on Mar 13, 2014
  1. Allow disableIndentCorrections to affect all html subtypes

    This should be the desired setting for most html types, certain types such as markdown may need an override or a setting of their own.
    infininight committed Mar 13, 2014
  2. Remove text.blog exclusion

    Instead we will increase scope specificity in the Blogging bundle.
    infininight committed Mar 13, 2014
  3. Update tags in “Convert to named entities excl tags”

    The “Convert to named entities excl tags” menu action’s whitelist of tags to filter out predated the HTML5 spec and didn’t support its new tags. Prior to this commit this sample markup:
    
    <section>I’m markup!</section>
    
    would convert to:
    
    &lt;section&gt;I&rsquo;m markup!&lt;/section&gt;
    
    But with this change it correctly converts to:
    
    <section>I&rsquo;m markup!</section>
    
    Complete tag list provided by https://developer.mozilla.org/en-US/docs/Web/HTML/Element. This includes tags deprecated by HTML5, those introduced by it, as well as the WebComponents spec.
    pdokas committed with infininight Feb 2, 2014
Commits on Mar 3, 2014
  1. Disable indent corrections on empty lines

    This option is introduced in TextMate 2.0-alpha.9517
    sorbits committed Mar 3, 2014
Commits on Dec 27, 2013
  1. Use version 1.8 of ruby for bundle items

    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
    infininight committed Dec 27, 2013
Commits on Nov 12, 2013
  1. Remove indentation setting

    This previously reversed a setting in the Text bundle, now we exclude HTML from that setting item.
    infininight committed Nov 12, 2013
Commits on Aug 21, 2013
  1. Allow invalid `<` match to work in all HTML based grammars

    Using R: in front of the scope ensures that it loads after any other injected rules to prevent conflicts.
    infininight committed Aug 21, 2013
Commits on Aug 8, 2013
  1. Add word boundary assertion for tag name used in indent rule

    Without this, ‘col’ would match ‘colgroup’ causing wrong indent for the latter.
    sorbits committed Aug 8, 2013
Commits on Jul 27, 2013
  1. Use version 1.8 of ruby for bundle items

    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
    infininight committed Jul 27, 2013
Commits on Jul 26, 2013
  1. Let Insert Entity… show entities sorted

    This improves type-to-select slightly.
    sorbits committed Jul 26, 2013
  2. If user cancels Insert Entity… we silently close window

    Previously we would abort, which makes TextMate show an error sheet.
    
    Closes #26.
    sorbits committed Jul 26, 2013
Commits on Jul 21, 2013
  1. Setup tags as highlight pairs

    This allows moving between tags with ⌃↓/⌃↑ and selecting an open/close pair with ⇧⌘B.
    sorbits committed Jul 21, 2013
Commits on Mar 19, 2013
  1. Don’t abort when user cancels “Documentation for Tag”

    Using abort will show an error dialog in TextMate 2.
    sorbits committed Mar 19, 2013
Commits on Mar 14, 2013
  1. Remove Mac glyph snippets

    A better solution is to insert the actual glyphs (instead of entities) and to use multi-stroke keybindings, see http://blog.macromates.com/2006/multi-stroke-key-bindings/
    sorbits committed Mar 14, 2013
Commits on Feb 26, 2013
  1. Correct typo in link snippet

    ncisc committed with infininight Jan 19, 2013