mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00: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:
1 parent
530e107d51
commit
43084829bc
4 files changed
+40
-79
No files matched your search
@@ -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