|
f9d94520
|
2015-08-29T23:16:25
|
|
PHP: Simplified patterns
|
|
b1fd5bdc
|
2015-03-10T08:27:53
|
|
Removed unused global flag in all grammars
|
|
00955466
|
2015-01-29T07:49:18
|
|
PHP : Handle shell-like comment after strings because they are less common than strings containing hashes
|
|
ec2540af
|
2014-08-23T16:37:01
|
|
Fixed 'before-insert' hook
Fixed 'before-insert' hook: now checks if language is PHP before assigning env.code to env.backupCode.
Only "language-php" defines env.backupCode: without this condition, env.Code would be undefined for any other language than PHP after this hook is called. It would then lead to wrong behaviours (eg. Line Numbers plugin would not show lines).
|
|
312e989c
|
2014-08-19T12:01:00
|
|
Fix line-numbers for PHP in markup
The problem is, that inline php code can be anywhere inside of a HTML
element. To properly highlight this the php language implementation
temporarily replaces all inline php code in `env.code` with something
like `{{PHP0}}`. After the markup highlighting is finished it replaces
it again with the real code, but it leaves `env.code` corrupted.
Since the line-numbers plugin uses `env.code` to count the number of
lines, the result will be broken.
So to fix this, it must be ensured, that `env.code` is restored before
the line-numbers plugin uses it.
|
|
e437402f
|
2014-05-24T12:12:28
|
|
Remove entities [#258]
|
|
48cbb067
|
2014-04-25T11:54:39
|
|
support for PHP's #-style comments
although it fails to detect when a # is within a string, just like it does for // though when // isn't preceded by a :
but such are the limits of parsing code with regexp :(
|
|
a48fdb8f
|
2013-12-29T00:25:45
|
|
Remove duplicate keywords in PHP
There are some duplicate keyword in PHP keywords definition:
* extends
* static
* use
|
|
685b1652
|
2013-07-13T12:24:13
|
|
Use all markup patterns instead of just tag within PHP blocks [Issue #134]
|
|
3f35ff9c
|
2013-07-03T12:21:50
|
|
Added PHP extras with additional patterns
|
|
50485867
|
2013-07-03T02:22:27
|
|
Added min versions
|
|
5c7d8061
|
2013-07-03T02:09:37
|
|
Polish fixes according to test cases
|
|
08d8f5a2
|
2013-07-02T18:39:04
|
|
Comment out patterns to move to php-extras
|
|
2dc55342
|
2013-07-02T18:36:53
|
|
Use global match for hook
|
|
0c8c1789
|
2013-07-02T18:18:07
|
|
Quick fixes
Removed PHP from examples
|
|
a2db2b5c
|
2013-07-02T16:54:46
|
|
Added legit markup support
|
|
52b05010
|
2013-06-03T18:14:02
|
|
Removed markup parsing
|
|
e962299c
|
2013-05-18T17:29:21
|
|
Updated PHP patterns
Fixed PHP + Markup
|
|
b4c67349
|
2013-05-17T19:21:25
|
|
Readded word boundaries
|
|
3129ed87
|
2013-05-17T16:57:08
|
|
More example testing
|
|
45a54837
|
2013-05-16T21:08:06
|
|
Moved function to clike
|
|
b1003de3
|
2013-05-16T12:19:58
|
|
More improvements and testing
|
|
15c80635
|
2013-05-14T12:03:58
|
|
Added class-name to clike
Added PHP support
|