File tree Expand file tree Collapse file tree
src/vs/editor/contrib/folding Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { FoldingDecorationProvider } from './foldingDecorations';
1919import { FoldingRegions , FoldingRegion } from './foldingRanges' ;
2020import { EditorContextKeys } from 'vs/editor/common/editorContextKeys' ;
2121import { ConfigurationChangedEvent , EditorOption } from 'vs/editor/common/config/editorOptions' ;
22- import { IMarginData , IEmptyContentData } from 'vs/editor/browser/controller/mouseTarget' ;
22+ import { IMarginData } from 'vs/editor/browser/controller/mouseTarget' ;
2323import { HiddenRangeModel } from 'vs/editor/contrib/folding/hiddenRangeModel' ;
2424import { IRange } from 'vs/editor/common/core/range' ;
2525import { LanguageConfigurationRegistry } from 'vs/editor/common/modes/languageConfigurationRegistry' ;
@@ -364,15 +364,6 @@ export class FoldingController extends Disposable implements IEditorContribution
364364
365365 iconClicked = true ;
366366 break ;
367- case MouseTargetType . CONTENT_EMPTY : {
368- if ( this . hiddenRangeModel . hasRanges ( ) ) {
369- const data = e . target . detail as IEmptyContentData ;
370- if ( ! data . isAfterLines ) {
371- break ;
372- }
373- }
374- return ;
375- }
376367 case MouseTargetType . CONTENT_TEXT : {
377368 if ( this . hiddenRangeModel . hasRanges ( ) ) {
378369 let model = this . editor . getModel ( ) ;
You can’t perform that action at this time.
0 commit comments