Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-3457

[Speed Improvement] Cache scopes per partition at DocumentScopeManager.getTokenScopeFragments

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Aptana Studio 3.0.5
    • Component/s: Editor
    • Labels:
      None

      Description

      The method is being called multiple times when user just moves the text cursor around.
      We could cache tokens per partition in getTokenScopeFragments() and reset the cache on IDocumentExtension4.getModificationStamp() change.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                mstepanov Max Stepanov
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code