diff options
author | elfmz <fenix1905@tut.by> | 2022-11-05 20:31:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 20:31:53 +0300 |
commit | 253a6b140797e035eb9301a1632fed2408a837e2 (patch) | |
tree | ed6be316904b5d5ff11b7bfa46e7037fc2ec51d5 /far2l/src/dlgedit.cpp | |
parent | 89eaed71c674aadda536408638e3416bc7f4c053 (diff) |
support full-width/composite characters and true color palette in terminal (#1386)
Added normal support for full-width (CJK etc) and composite (using diacritics) characters.
IMPORTANT: WINPORT API changed in binary incompatible way in order to implement this.
Diffstat (limited to 'far2l/src/dlgedit.cpp')
-rw-r--r-- | far2l/src/dlgedit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/far2l/src/dlgedit.cpp b/far2l/src/dlgedit.cpp index 8881d951..0366f646 100644 --- a/far2l/src/dlgedit.cpp +++ b/far2l/src/dlgedit.cpp @@ -390,7 +390,7 @@ int DlgEdit::GetCurRow() return 0; } -int DlgEdit::GetTabCurPos() +int DlgEdit::GetCellCurPos() { #if defined(PROJECT_DI_MEMOEDIT) @@ -398,10 +398,10 @@ int DlgEdit::GetTabCurPos() return multiEdit->GetCurPos(); // GetCurCol??? else #endif - return lineEdit->GetTabCurPos(); + return lineEdit->GetCellCurPos(); } -void DlgEdit::SetTabCurPos(int NewPos) +void DlgEdit::SetCellCurPos(int NewPos) { #if defined(PROJECT_DI_MEMOEDIT) @@ -409,7 +409,7 @@ void DlgEdit::SetTabCurPos(int NewPos) multiEdit->SetCurPos(NewPos,multiEdit->GetCurRow()); //??? else #endif - lineEdit->SetTabCurPos(NewPos); + lineEdit->SetCellCurPos(NewPos); } |