mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
@@ -871,8 +871,10 @@ void TextEditor::SetFocus() {
|
||||
SetSelection(mInteractiveStart, mInteractiveEnd, mSelectionMode);
|
||||
ResetCursorBlinkTime();
|
||||
EnsureCursorVisible();
|
||||
ImGui::SetKeyboardFocusHere(-1);
|
||||
mUpdateFocus = false;
|
||||
if (!this->mReadOnly) {
|
||||
ImGui::SetKeyboardFocusHere(-1);
|
||||
mUpdateFocus = false;
|
||||
}
|
||||
}
|
||||
|
||||
void TextEditor::RenderText(const char *aTitle, const ImVec2 &lineNumbersStartPos, const ImVec2 &textEditorSize) {
|
||||
|
||||
Reference in New Issue
Block a user