KeyHandler // Comment fix.

This commit is contained in:
ShikiSuen 2022-07-22 13:39:06 +08:00
parent d00b5e5ed1
commit 9a999f1e66
2 changed files with 4 additions and 3 deletions

View File

@ -161,7 +161,7 @@ class KeyHandler {
///
/// - Parameters:
/// - value:
/// - respectCursorPushing: true
/// - respectCursorPushing: true
func fixNode(candidate: (String, String), respectCursorPushing: Bool = true) {
let theCandidate: Megrez.KeyValuePaired = .init(key: candidate.0, value: candidate.1)
let adjustedCursor = max(0, min(actualCandidateCursor + (mgrPrefs.useRearCursorMode ? 1 : 0), compositorLength))
@ -196,7 +196,7 @@ class KeyHandler {
//
walk()
///
///
if mgrPrefs.moveCursorAfterSelectingCandidate, respectCursorPushing {
compositor.jumpCursorBySpan(to: .front)
}

View File

@ -817,7 +817,8 @@ extension KeyHandler {
///
/// 使
/// (Shift+)Tab ()
/// Shift(+CMD)+Space Tab
/// Shift(+CMD)+Space Alt+/ Alt+/
/// Tab
if candidates[0].0 == currentPaired.key, candidates[0].1 == currentPaired.value {
///
///