Commit Graph

6524 Commits

Author SHA1 Message Date
nightwing
251da88c12 undo manager 2016-01-17 23:16:23 +04:00
nightwing
dbdf8aaad6 release 1.2.3 v1.2.3 2016-01-17 18:13:49 +04:00
Harutyun Amirjanyan
037ddb7310 Merge pull request #2854 from ajaxorg/fix/various
Fix various mode issues
2016-01-17 16:42:02 +04:00
Harutyun Amirjanyan
ab0fff7c8d Merge pull request #2847 from ajaxorg/fix/focus
Fix focus issues on IE
2016-01-17 16:41:28 +04:00
nightwing
889e147bf9 set demo options from url 2016-01-17 16:40:42 +04:00
Patrick Evers
cb6dd5514d Razor Highlighting 2016-01-17 16:29:05 +04:00
nightwing
9f193427d4 do not highlight old lua keywords in red 2016-01-17 16:12:22 +04:00
nightwing
d9ae394431 twaek haml mode 2016-01-17 16:12:08 +04:00
nightwing
55c7c1947c fix regression in less mode bracket highlighting 2016-01-14 14:50:57 +04:00
nightwing
c184364f45 fix focus issue on IE 2016-01-08 19:44:51 +04:00
Harutyun Amirjanyan
25ca77b718 Merge pull request #2846 from ajaxorg/fix/behaviors
Fix ruby autoindent
2016-01-08 17:04:24 +04:00
nightwing
8004bfbcb4 Merge branch 'pull/2837' 2016-01-08 16:39:02 +04:00
nightwing
f109c039eb fix typo 2016-01-08 16:36:47 +04:00
Harutyun Amirjanyan
30f907ee08 Merge pull request #2840 from KevenYoung/master
Fix autocompletion error in php mode
2016-01-08 16:18:49 +04:00
nightwing
8622ae228e jsx allows tags as attibute values 2016-01-07 00:53:36 +04:00
yangzhen
ac482b1e46 Fix 'variable' always be '' in chrome
Fix getArrayKeyCompletions() should not return undefined
2016-01-06 14:13:32 +08:00
Claudio Spizzi
8d4b0ac32b Update PowerShell
Update the highlighting rules for PowerShell to the latest version 5.0:
- Add new keywords
- Update function/cmdlet list
- Update operators
2016-01-03 02:17:13 +01:00
nightwing
b6abb5eacf fix autoindent of when keyword in ruby mode 2015-12-30 00:23:23 +04:00
Harutyun Amirjanyan
2953c7cf00 Merge pull request #2831 from robin-jarry/mode-rst
rst mode improvements
2015-12-29 21:36:15 +04:00
Harutyun Amirjanyan
9c342c6695 Merge pull request #2832 from ajaxorg/fix/highlighting
fix matching bracket highlighting in js templates
2015-12-29 20:57:32 +04:00
nightwing
f0576a4642 fix matching bracket highlighting in js templates 2015-12-29 20:55:21 +04:00
Robin Jarry
e2f20ac57d mode/rst: support more list items patterns
Also support:

    A. upper-case letters
       and it goes over many lines

       with two paragraphs and all!

    a. lower-case letters

    I. upper-case roman numerals

    i. lower-case roman numerals

    (1) numbers again

    1) and again

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
2015-12-28 17:33:42 +01:00
Robin Jarry
54a152f813 mode/rst: fix rst demo
The example taken from
http://docutils.sourceforge.net/docs/user/rst/quickstart.html contains
code blocks nested into definition lists.

This is not supported by the rst mode tokenizer as it would require to
memorize the initial indentation level when the code block starts to be
able to determine whether it ends or not. For now, the tokenizer ends a
code block (or directive body) when it encounters the first line without
indentation.

Fix the example by unindenting the definition lists containing code
blocks.

Also, fix the top heading by adding an overline.

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
2015-12-28 17:18:46 +01:00
Robin Jarry
79b60787a8 mode/rst: fix some regexps to comply with standard rst
The official reStructuredText parser from the docutils library has some
requirements to determine if a "**" sequence is the start of inline bold
text.

- The character before "**" must be either:
  + The begining of line
  + A space
  + One of " ' ( < [ { - / :
- The next character after "**" must not be a space.

Then to determine if a "**" is the end of inline bold text.

- The character before "**" must not be a space.
- The character after "**" must be either:
  + The end of line
  + A space
  + One of \ . , ; ! ? - / : " ' ) > ] }

The same requirements apply for inline italics "*", literals "``" and
interpreted role text "`".

See rst parser source code for more details:
http://repo.or.cz/docutils.git/blob/HEAD:/docutils/docutils/parsers/rst/states.py#l527

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
2015-12-28 16:53:18 +01:00
Robin Jarry
9e8006331e demo: add more rst example text
RST source taken from
http://docutils.sourceforge.net/docs/user/rst/quickstart.txt

Signed-off-by: Robin Jarry <robin@jarry.cc>
2015-12-27 18:23:16 +01:00