mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Increase maximum depth of outlining span search (#18704)
* Increase max depth of outlining spans to 120 * Update tests * Update tests to demonstrate limit * Set limit to 40 and update tests
This commit is contained in:
committed by
Mohamed Hegazy
parent
530e107d51
commit
43084829bc
@@ -1,7 +1,7 @@
|
||||
/* @internal */
|
||||
namespace ts.OutliningElementsCollector {
|
||||
const collapseText = "...";
|
||||
const maxDepth = 20;
|
||||
const maxDepth = 40;
|
||||
const defaultLabel = "#region";
|
||||
const regionMatch = new RegExp("^\\s*//\\s*#(end)?region(?:\\s+(.*))?$");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user