Skip to content
Snippets Groups Projects
  1. Jun 14, 2013
    • Marijn Haverbeke's avatar
      a6698dc6
    • Marijn Haverbeke's avatar
      IE10 fixes · e1567eda
      Marijn Haverbeke authored
      Makes the test suite run again.
      
      Main problem was an accidentally shadowed variable that was only
      used on IE.
      
      Closes #1607
      e1567eda
    • Marijn Haverbeke's avatar
      [resize demo] Restore doctype · 313ea27a
      Marijn Haverbeke authored
      Which had been accidentally removed.
      313ea27a
    • Narciso Jaramillo's avatar
    • Marijn Haverbeke's avatar
      Fix bug in addLineClass/removeLineClass · 321e53b2
      Marijn Haverbeke authored
      \b can match the inside of a class name (-).
      321e53b2
    • santec's avatar
      [sql mode] number syntaxes with specific mime types · 7fc7a1f5
      santec authored
      * hex not supported by cassandra
      * binary not supported by cassandra
      * new syntax: "1." (mysql,mariadb,oracle)
      7fc7a1f5
    • Jean Boussier's avatar
      [ruby mode] Various improvements · 2de0b1c0
      Jean Boussier authored
      * Handle default string % literal for Ruby
      
        %{Hello World} == %q{Hello World}
      
        One gotcha though:
      
        5%(2) == 5 % 2
      
        Will be seen as a string, but it will be interpreted
        as the modulo operator by ruby.
      
      * Variables names can't include a ? nor a !
      
      * Improve symbols parsing rules
      
        - can be operators (e.g :+, :/, :-, :>>)
        - start with @ or $
        - end with !, ? or =
        - can't start by a digit
      
        Though when defined in reverse as hash keys (e.g {foo: 'bar'})
      
        - can only start with [a-zA-Z\_]
        - can't end with =
      
      * Instance and class variables can't start by a digit but globals can be only digits
      
      * Add some missing keywords
      
        Actually only __END__ is really a keyword.
        But __FILE__, __LINE__ and __dir__ are special variables so most editors highlight them as keywords.
      
      * Several regexp improvements
      
        - Use the string-2 class for regexps like JS mode
        - Xonsider %r as a regexp
        - Handle interpolation inside regexps
      
        It allow to colorize properly stuffs like:
      
        ```ruby
      /foo #{1 + 2}/
      %r{foo #{@bar} baz}
      ```
      
      * Fix parsing of brace enclosed string literals with interpolation
      
        As an example:
      
        ```ruby
      %Q{foo #{42} baz #{26} fizz}
      ```
        The coloration was broken after the first interpolation.
      2de0b1c0
  2. Jun 13, 2013
  3. Jun 12, 2013
  4. Jun 10, 2013
  5. Jun 09, 2013
  6. Jun 08, 2013
  7. Jun 07, 2013
Loading