CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 19:36:34 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/adobe/brackets.git
etag: W/"9b88d891ce06fa552747d6afde0fd1e1"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Nag1o9eVgyzQkb3GIgLfrkyyjxUlC9rd2XS86%2Fn99lVt%2F1k6be%2BLh4DJp6X1tj1UYmQjQFbMI8tv%2B9q8%2F9nYH8%2FZlpfUd3AN7gA3x2MJ5ze8TrNSUveIIaYdmASnVqhklprYqGOA6YOGob8Cll15dtC0glbH0RGT%2B3q%2BBtpKE5wOuqmFBO3Prw6pFisPWQMoY7LfK14DXLtotAor8gUWT4cwA%2FC7N11NKj1n8cijl6y4EoetPSUoyR5Iih4v8TGkR%2BChuJhdrWwl%2BuDvVsdYrA%3D%3D--ogyCJy7TbpctFBTQ--imEPKpyBW4PvuDhbk2Y5CQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1140308252.1753385794; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 19:36:34 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 19:36:34 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D490:3A7A1F:BC42:F63F:68828B42
APIs for manipulating gutters (#12742) · adobe/brackets@40f96c3 · GitHub
Copy file name to clipboardExpand all lines: src/extensions/default/CodeFolding/foldhelpers/foldcode.js
Copy file name to clipboardExpand all lines: src/extensions/default/CodeFolding/foldhelpers/foldgutter.js
Skip to content
Navigation Menu
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit 40f96c3
APIs for manipulating gutters (#12742)
* Added apis for manipulating gutters in Editor
* fix bug with line number initialisation
* enabled filtering the gutter displayed based on the language of the current editor
* Addressed CR comments.
registering/unregistering/getting registered gutters are now `static` objects on the editor class.
modified code folding gutter to use new api.
* added tests for gutter apis
* addressing code review comments
* revert space
* addressed more missed code review comments1 parent 3e5ca74 commit 40f96c3Copy full SHA for 40f96c3
File tree
Expand file treeCollapse file tree
6 files changed
+289
-64
lines changedFilter options
- src
- editor
- extensions/default/CodeFolding
- foldhelpers
- test/spec
Expand file treeCollapse file tree
6 files changed
+289
-64
lines changed+152-9Lines changed: 152 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 |
| |
102 | 108 |
| |
103 | 109 |
| |
| |||
112 | 118 |
| |
113 | 119 |
| |
114 | 120 |
| |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
115 | 125 |
| |
116 | 126 |
| |
117 | 127 |
| |
| |||
210 | 220 |
| |
211 | 221 |
| |
212 | 222 |
| |
213 |
| - | |
| 223 | + | |
214 | 224 |
| |
215 | 225 |
| |
216 | 226 |
| |
217 |
| - | |
218 |
| - | |
| 227 | + | |
219 | 228 |
| |
220 | 229 |
| |
221 | 230 |
| |
| |||
250 | 259 |
| |
251 | 260 |
| |
252 | 261 |
| |
| 262 | + | |
253 | 263 |
| |
254 | 264 |
| |
255 | 265 |
| |
| |||
339 | 349 |
| |
340 | 350 |
| |
341 | 351 |
| |
342 |
| - | |
| 352 | + | |
343 | 353 |
| |
344 | 354 |
| |
345 | 355 |
| |
| |||
421 | 431 |
| |
422 | 432 |
| |
423 | 433 |
| |
| 434 | + | |
| 435 | + | |
424 | 436 |
| |
425 | 437 |
| |
426 | 438 |
| |
| |||
2334 | 2346 |
| |
2335 | 2347 |
| |
2336 | 2348 |
| |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
2337 | 2354 |
| |
2338 | 2355 |
| |
2339 | 2356 |
| |
| |||
2389 | 2406 |
| |
2390 | 2407 |
| |
2391 | 2408 |
| |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
2392 | 2532 |
| |
2393 | 2533 |
| |
2394 | 2534 |
| |
| |||
2540 | 2680 |
| |
2541 | 2681 |
| |
2542 | 2682 |
| |
2543 |
| - | |
| 2683 | + | |
2544 | 2684 |
| |
2545 | 2685 |
| |
2546 | 2686 |
| |
| |||
2549 | 2689 |
| |
2550 | 2690 |
| |
2551 | 2691 |
| |
2552 |
| - | |
| 2692 | + | |
2553 | 2693 |
| |
2554 | 2694 |
| |
2555 | 2695 |
| |
| |||
2558 | 2698 |
| |
2559 | 2699 |
| |
2560 | 2700 |
| |
2561 |
| - | |
| 2701 | + | |
2562 | 2702 |
| |
2563 | 2703 |
| |
2564 | 2704 |
| |
| |||
2588 | 2728 |
| |
2589 | 2729 |
| |
2590 | 2730 |
| |
2591 |
| - | |
| 2731 | + | |
| 2732 | + | |
| 2733 | + | |
| 2734 | + | |
2592 | 2735 |
| |
2593 | 2736 |
| |
2594 | 2737 |
| |
|
src/extensions/default/CodeFolding/foldhelpers/foldcode.js
Copy file name to clipboardExpand all lines: src/extensions/default/CodeFolding/foldhelpers/foldcode.js+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
src/extensions/default/CodeFolding/foldhelpers/foldgutter.js
Copy file name to clipboardExpand all lines: src/extensions/default/CodeFolding/foldhelpers/foldgutter.js+1-18Lines changed: 1 addition & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
| 102 | + | |
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
| |||
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 | 143 |
| |
160 | 144 |
| |
161 | 145 |
| |
| |||
407 | 391 |
| |
408 | 392 |
| |
409 | 393 |
| |
410 |
| - | |
411 | 394 |
| |
412 | 395 |
| |
413 | 396 |
|
You can’t perform that action at this time.
0 commit comments