aptana / studio3

This repository contains the code for core components of Aptana Studio 3.
http://aptana.com/products/studio3
Other
1.07k stars 484 forks source link

fix(editor): significantly improve performance scanning for task tags in comments in editors #508

Closed sgtcoolguy closed 5 years ago

sgtcoolguy commented 5 years ago

JIRA: https://jira.appcelerator.org/browse/TISTUD-9171

Description Move from per-character scanning to bulk range scanning, which avoids locking the document for every single characeter in the range! Long comment ranges would lead to pathological case where editors would just hang. (i.e. baked in sourcemaps triggered this)

Fixes TISTUD-9171