Unverified Commit 0d1358d7 authored by Tong Mu's avatar Tong Mu Committed by GitHub

Impl (#84171)

parent 549d23e1
......@@ -850,7 +850,7 @@ class _PrefixedStringBuilder {
_wrappableRanges,
wrapWidth!,
startOffset: firstLine ? prefixLineOne.length : _prefixOtherLines!.length,
otherLineOffset: firstLine ? _prefixOtherLines!.length : _prefixOtherLines!.length,
otherLineOffset: _prefixOtherLines!.length,
);
int i = 0;
final int length = lines.length;
......@@ -1009,7 +1009,7 @@ class _PrefixedStringBuilder {
}
String? _getCurrentPrefix(bool firstLine) {
return _buffer.isEmpty ? prefixLineOne : (firstLine ? _prefixOtherLines : _prefixOtherLines);
return _buffer.isEmpty ? prefixLineOne : _prefixOtherLines;
}
/// Write lines assuming the lines obey the specified prefixes. Ensures that
......
......@@ -1777,7 +1777,7 @@ void main() {
int keyCodeForModifier(int modifier, {required bool isLeft}) {
switch (modifier) {
case GtkKeyHelper.modifierMod1:
return isLeft ? 65513 : 65513;
return 65513;
case GtkKeyHelper.modifierShift:
return isLeft ? 65505 : 65506;
case GtkKeyHelper.modifierControl:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment