Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty special region causes crash #185

Closed
TaoK opened this issue Nov 20, 2017 · 0 comments
Closed

empty special region causes crash #185

TaoK opened this issue Nov 20, 2017 · 0 comments

Comments

@TaoK
Copy link
Owner

TaoK commented Nov 20, 2017

An empty special region like either of the following causes the formatter to fail with an exception:

select /*[noformat]*//*[/noformat]*/
select --[noformat]
--[/noformat]
TaoK added a commit that referenced this issue Nov 20, 2017
Issue #185: Empty area causes crash
Issue #184: Multiline comment incorrectly adds Break
Issue #183: Region end incorrectly adds space or break
Issue #182: Regions broken (text lost) since JS support refactor
@TaoK TaoK closed this as completed Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant