mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Upgrade to oniguruma 0.11
This commit is contained in:
parent
4acb3acebc
commit
927e9c3de8
@ -5,7 +5,7 @@
|
||||
"dependencies": {
|
||||
"coffee-script": "1.6.2",
|
||||
"ctags": "0.3.0",
|
||||
"oniguruma": "0.8.0",
|
||||
"oniguruma": "0.11.0",
|
||||
"mkdirp": "0.3.5",
|
||||
"git-utils": "0.14.0",
|
||||
"underscore": "1.4.4",
|
||||
|
@ -250,7 +250,6 @@ class Rule
|
||||
scanners = injections.getScanners(ruleStack, position, firstLine, @anchorPosition)
|
||||
for scanner in scanners
|
||||
result = scanner.findNextMatch(line, position)
|
||||
result?.scanner = scanner
|
||||
return result if result?
|
||||
|
||||
normalizeCaptureIndices: (line, captureIndices) ->
|
||||
@ -265,7 +264,6 @@ class Rule
|
||||
|
||||
scanner = @getScanner(baseGrammar, position, firstLine)
|
||||
result = scanner.findNextMatch(lineWithNewline, position)
|
||||
result?.scanner = scanner
|
||||
@normalizeCaptureIndices(line, result.captureIndices) if result?
|
||||
|
||||
injectionResult = @scanInjections(ruleStack, lineWithNewline, position, firstLine)
|
||||
|
Loading…
Reference in New Issue
Block a user