This repository was archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 822
Improve formatting features in the editor #7104
Merged
andybalaam
merged 47 commits into
matrix-org:develop
from
alexanderstephan:alexanderstephan/linkshortcut
Mar 16, 2022
Merged
Changes from 44 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
d17f2b6
Add helper method
alexanderstephan d5a145d
Add shortcut reference
alexanderstephan ccc1112
Add shortcut logic
alexanderstephan cf1fd8b
Add keybindings
alexanderstephan 8cb6355
Add links and code format to MessageComposerAction
alexanderstephan 4ece17e
Small fixes and refactoring
alexanderstephan 8bbfdf0
Fix naming logic
alexanderstephan efee3fc
Improve signature
alexanderstephan 5b1b0b6
Add toggle function for code formatting
alexanderstephan 1a56265
Merge branch 'matrix-org:develop' into alexanderstephan/linkshortcut
alexanderstephan 617c686
Clean up naming logic and some refactoring
alexanderstephan a7f2816
Improve handling of whitespace
alexanderstephan e53f68d
Add more elaborate comment about whitespace handling
alexanderstephan f358be3
Fix trim
alexanderstephan e63ef6c
Cleaner, more robust multiline toggle
alexanderstephan 9f726d8
Merge branch 'matrix-org:develop' into alexanderstephan/linkshortcut
alexanderstephan 19f9527
Add caret reset for no selection
alexanderstephan 35b1edc
Fix range condition and clean up
alexanderstephan 6c185c1
Merge branch 'matrix-org:develop' into alexanderstephan/linkshortcut
alexanderstephan 19a519d
Refactoring
alexanderstephan eb5fade
Linter: Remove empty line
alexanderstephan 5f9817a
Extract format range to operations and add unit tests
alexanderstephan e07d1ba
Add pure whitespace handling to range
alexanderstephan 684e0f5
Handle deletion of caret position
alexanderstephan bf84878
Add comments to important methods, improve names and clean up signatures
alexanderstephan ea04826
Merge branch 'matrix-org:develop' into alexanderstephan/linkshortcut
alexanderstephan d880a3e
Improve tests to enable better checking of selection position
alexanderstephan 4f27d41
Respect punctuation
alexanderstephan 9cb8ebe
Revert to substr
alexanderstephan 1f5b24c
Allow punctuation again for consistency
alexanderstephan 2c05a61
Remove whitespace
alexanderstephan abc9134
Add more comments and introduce constant for white space
alexanderstephan 75822e7
Extract function for isPlainWord
alexanderstephan 7fd0c64
Switch keybinding for macOS
alexanderstephan 0137fa4
Fix equals
alexanderstephan 22d178e
Merge branch 'matrix-org:develop' into alexanderstephan/linkshortcut
alexanderstephan 4f40a1e
Fix missing ctrlOrCmd
alexanderstephan f4c545b
Use alternative shortcut for now
alexanderstephan 15dd865
Enable link untoggle
alexanderstephan 1e96f13
Update tests for different caret adjustment method
alexanderstephan a25643d
Merge branch 'matrix-org:develop' into alexanderstephan/linkshortcut
alexanderstephan 5b45642
Merge branch 'matrix-org:develop' into alexanderstephan/linkshortcut
alexanderstephan 8fa3406
Fix signatures and remove auto selection from quote
alexanderstephan 2093e08
Fix comment style
alexanderstephan 1e131b9
Fix equals
alexanderstephan e5d5eed
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy fd0befb
Merge fixup, document shortcuts and fix mac-specific alt/shift mixup
t3chguy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.