|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/LineEditor/LineEditor.cpp 214 ::el_set(Data->EL, EL_PROMPT, ElGetPromptFn);
215 ::el_set(Data->EL, EL_EDITOR, "emacs");
216 ::el_set(Data->EL, EL_HIST, history, Data->Hist);
217 ::el_set(Data->EL, EL_ADDFN, "tab_complete", "Tab completion function",
219 ::el_set(Data->EL, EL_BIND, "\t", "tab_complete", NULL);
220 ::el_set(Data->EL, EL_BIND, "^r", "em-inc-search-prev",
222 ::el_set(Data->EL, EL_BIND, "^w", "ed-delete-prev-word",
224 ::el_set(Data->EL, EL_BIND, "\033[3~", "ed-delete-next-char",
226 ::el_set(Data->EL, EL_CLIENTDATA, Data.get());
tools/lldb/source/Host/common/Editline.cpp 998 el_set(m_editline, EL_EDITMODE, 0);
1010 el_wset(m_editline, EL_HIST, history, m_history_sp->GetHistoryPtr());
1012 el_set(m_editline, EL_CLIENTDATA, this);
1013 el_set(m_editline, EL_SIGNAL, 0);
1014 el_set(m_editline, EL_EDITOR, "emacs");
1015 el_set(m_editline, EL_PROMPT,
1020 el_wset(m_editline, EL_GETCFN, (EditlineGetCharCallbackType)([](
1027 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-break-line"),
1032 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-end-or-add-line"),
1037 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-delete-next-char"),
1042 el_wset(
1048 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-previous-line"),
1053 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-next-line"),
1058 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-previous-history"),
1063 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-next-history"),
1068 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-buffer-start"),
1073 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-buffer-end"),
1078 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-fix-indentation"),
1093 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-complete"),
1095 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb_complete"),
1100 el_set(m_editline, EL_BIND, "^r", "em-inc-search-prev",
1103 el_set(m_editline, EL_BIND, "^w", "ed-delete-prev-word",
1105 el_set(m_editline, EL_BIND, "\t", "lldb-complete",
1113 el_wset(m_editline, EL_ADDFN, EditLineConstString("lldb-revert-line"),
1125 el_set(m_editline, EL_BIND, bind_key, "lldb-fix-indentation", NULL);
1132 el_set(m_editline, EL_BIND, "\n", "lldb-end-or-add-line", NULL);
1133 el_set(m_editline, EL_BIND, "\r", "lldb-end-or-add-line", NULL);
1134 el_set(m_editline, EL_BIND, ESCAPE "\n", "lldb-break-line", NULL);
1135 el_set(m_editline, EL_BIND, ESCAPE "\r", "lldb-break-line", NULL);
1136 el_set(m_editline, EL_BIND, "^p", "lldb-previous-line", NULL);
1137 el_set(m_editline, EL_BIND, "^n", "lldb-next-line", NULL);
1138 el_set(m_editline, EL_BIND, "^?", "lldb-delete-previous-char", NULL);
1139 el_set(m_editline, EL_BIND, "^d", "lldb-delete-next-char", NULL);
1140 el_set(m_editline, EL_BIND, ESCAPE "[3~", "lldb-delete-next-char", NULL);
1141 el_set(m_editline, EL_BIND, ESCAPE "[\\^", "lldb-revert-line", NULL);
1145 el_set(m_editline, EL_BIND, ESCAPE "<", "lldb-buffer-start", NULL);
1146 el_set(m_editline, EL_BIND, ESCAPE ">", "lldb-buffer-end", NULL);
1147 el_set(m_editline, EL_BIND, ESCAPE "[A", "lldb-previous-line", NULL);
1148 el_set(m_editline, EL_BIND, ESCAPE "[B", "lldb-next-line", NULL);
1149 el_set(m_editline, EL_BIND, ESCAPE ESCAPE "[A", "lldb-previous-history",
1151 el_set(m_editline, EL_BIND, ESCAPE ESCAPE "[B", "lldb-next-history",
1153 el_set(m_editline, EL_BIND, ESCAPE "[1;3A", "lldb-previous-history",
1155 el_set(m_editline, EL_BIND, ESCAPE "[1;3B", "lldb-next-history", NULL);
1157 el_set(m_editline, EL_BIND, "^H", "lldb-delete-previous-char", NULL);
1159 el_set(m_editline, EL_BIND, "-a", ESCAPE "[A", "lldb-previous-line",
1161 el_set(m_editline, EL_BIND, "-a", ESCAPE "[B", "lldb-next-line", NULL);
1162 el_set(m_editline, EL_BIND, "-a", "x", "lldb-delete-next-char", NULL);
1163 el_set(m_editline, EL_BIND, "-a", "^H", "lldb-delete-previous-char",
1165 el_set(m_editline, EL_BIND, "-a", "^?", "lldb-delete-previous-char",
1170 el_set(m_editline, EL_BIND, "-a", "[A", "lldb-previous-line", NULL);
1171 el_set(m_editline, EL_BIND, "-a", "[B", "lldb-next-line", NULL);
1172 el_set(m_editline, EL_BIND, "-a", "[\\^", "lldb-revert-line", NULL);
1227 el_set(m_editline, EL_EDITMODE, 0);