Repository navigation
add frame for linux platform - #29
Merged
Merged
Conversation
Contributor
|
Could the two commits be squashed? |
Jocs
reviewed
Mar 19, 2018
| useContentSize: true, | ||
| show: false, | ||
| frame: false, | ||
| frame: (process.platform === 'linux' ? false : true), |
Member
There was a problem hiding this comment.
frame: process.platform === 'linux',
So don't need to use condition ? expr1 : expr2'
This reverts commit c4a268d.
Contributor
Author
|
Whoops, should be fixed now. |
Contributor
|
@notAlaanor could you please drop/squash those comments and git push -f to keep the commit history clear of clutter? Right now this would add 2 useless commits. |
Jocs
reviewed
Mar 19, 2018
| useContentSize: true, | ||
| show: false, | ||
| frame: false, | ||
| frame: (process.platform === 'linux'), |
Member
There was a problem hiding this comment.
This PR is helpful to the Linux users, One more thing, I think the ( and ) are not needed.
Can you remove them, then I will merge this PR.
Member
|
@notAlaanor I will release v0.7.16 after merge this PR. |
typewriter: Alt + Cmd + T => Shift + Cmd + T Source code: Alt + Cmd + S => Shift + Cmd + S focus: Alt + Cmd + M => Shift + Cmd + F
Jocs
reviewed
Mar 20, 2018
| "css-loader": "^0.28.4", | ||
| "del": "^3.0.0", | ||
| "devtron": "^1.4.0", | ||
| "electron": "^2.0.0-beta.4", |
Member
There was a problem hiding this comment.
A ha, I just degrade electron to 2.0.0-beta.1, this change maybe conflict with the last commit I just push.
Jocs
approved these changes
Mar 20, 2018
thimbleberrysystems
pushed a commit
to thimbleberrysystems/WordBird
that referenced
this pull request
Jun 21, 2026
add frame for linux platform
Renakoni
added a commit
to Renakoni/marktext
that referenced
this pull request
Sep 11, 2026
…nts (marktext#4926) An emoji the user sees as one character can be several code points and several UTF-16 code units (U+1F468 U+200D U+1F469 U+200D U+1F467 is five and eight respectively). Handling deletion one code unit — or one code point — at a time left part of the character behind, and half of a surrogate pair is a lone surrogate `ot-text-unicode` cannot encode, which is the crash marktext#4926 reports. - content: a collapsed caret parked *inside* a grapheme cluster now has that whole cluster removed on Backspace and Delete, on UAX marktext#29 boundaries via `Intl.Segmenter`. Previously the caret was nudged by one code unit and the browser was left to delete an arbitrary piece of the character. - format: the inline-token backspace trim removes a whole leading / trailing cluster instead of one code point. - utils: add `graphemeClusterContaining`, `firstGraphemeLength` and `lastGraphemeLength`. - utils: `diffToTextOp` measured unchanged runs in grapheme clusters, but `ot-text-unicode` counts positions in code points. Any edit preceded by a multi-code-point character produced an operation aimed at the wrong offsets and silently desynced the JSON state from the document.
Renakoni
added a commit
to Renakoni/marktext
that referenced
this pull request
Sep 11, 2026
…nts (marktext#4926) An emoji the user sees as one character can be several code points and several UTF-16 code units (U+1F468 U+200D U+1F469 U+200D U+1F467 is five and eight respectively). Handling deletion one code unit — or one code point — at a time left part of the character behind, and half of a surrogate pair is a lone surrogate `ot-text-unicode` cannot encode, which is the crash marktext#4926 reports. - content: a collapsed caret parked *inside* a grapheme cluster now has that whole cluster removed on Backspace and Delete, on UAX marktext#29 boundaries via `Intl.Segmenter`. Previously the caret was nudged by one code unit and the browser was left to delete an arbitrary piece of the character. - format: the inline-token backspace trim removes a whole leading / trailing cluster instead of one code point. - utils: add `graphemeClusterContaining`, `firstGraphemeLength` and `lastGraphemeLength`. - utils: `diffToTextOp` measured unchanged runs in grapheme clusters, but `ot-text-unicode` counts positions in code points. Any edit preceded by a multi-code-point character produced an operation aimed at the wrong offsets and silently desynced the JSON state from the document.
4 of 7 tasks
Jocs
pushed a commit
that referenced
this pull request
Sep 14, 2026
* fix(muya): delete whole grapheme clusters, not code units or code points (#4926) An emoji the user sees as one character can be several code points and several UTF-16 code units (U+1F468 U+200D U+1F469 U+200D U+1F467 is five and eight respectively). Handling deletion one code unit — or one code point — at a time left part of the character behind, and half of a surrogate pair is a lone surrogate `ot-text-unicode` cannot encode, which is the crash #4926 reports. - content: a collapsed caret parked *inside* a grapheme cluster now has that whole cluster removed on Backspace and Delete, on UAX #29 boundaries via `Intl.Segmenter`. Previously the caret was nudged by one code unit and the browser was left to delete an arbitrary piece of the character. - format: the inline-token backspace trim removes a whole leading / trailing cluster instead of one code point. - utils: add `graphemeClusterContaining`, `firstGraphemeLength` and `lastGraphemeLength`. - utils: `diffToTextOp` measured unchanged runs in grapheme clusters, but `ot-text-unicode` counts positions in code points. Any edit preceded by a multi-code-point character produced an operation aimed at the wrong offsets and silently desynced the JSON state from the document. * test(muya): wait for search replacements to reach JSON state The search-replace E2E tests could read the old Markdown before the queued requestAnimationFrame applied the replacement to JSON state. Poll for the exact replacement result in both the single and all cases.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Window is created with a frame on Linux platforms.