From ca06eebbd7f8793d6a7e28ab78e1c2b23f09c86f Mon Sep 17 00:00:00 2001 From: Ellet Date: Wed, 24 Jan 2024 23:46:18 +0300 Subject: [PATCH] Remove unused comments --- ..._editor_state_text_input_client_mixin.dart | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart b/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart index ce9107fa..efcd47c9 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart @@ -206,35 +206,6 @@ mixin RawEditorStateTextInputClientMixin on EditorState value.selection.copyWith( affinity: widget.configurations.controller.selection.affinity), ); - - // if (widget.configurations.controller.selectedFontFamily != null) { - // widget.configurations.controller.formatSelection( - // Attribute.fromKeyValue( - // Attribute.font.key, - // widget.configurations.controller.selectedFontFamily?.value, - // ), - // ); - // } - - // if (widget.configurations.controller.selectedFontSize != null) { - // widget.configurations.controller.formatSelection( - // Attribute.fromKeyValue( - // Attribute.size.key, - // widget.configurations.controller.selectedFontSize == '0' - // ? null - // : getFontSize( - // widget.configurations.controller.selectedFontSize, - // ), - // ), - // ); - // } - // if (widget.configurations.controller.keepStyleOnNewLine) { - // widget.configurations.controller.selectedStyles.forEach((key, value) { - // if (value ?? false) { - // widget.configurations.controller.formatSelection(key); - // } - // }); - // } } }