![]() ![]() In this case it is the line with and the arguments vspace medskip. (3) Usually the last command executed by some dialog-based action is the one you are looking for. LyXFunc::dispatch: cmd: action: 225 arg: 'vspace medskip' x: 0 y: 0 LyXFunc::dispatch: cmd: action: 224 arg: 'vspace medskip' x: 0 y: 0 LyXFunc.cpp(1875): verbose dispatch msg (dialog-show-new-inset vspace) ![]() LyXFunc::dispatch: cmd: action: 218 arg: 'vspace vspace defskip' x: 0 y: 0 with selecting MedSkip: LyXFunc::dispatch: cmd: action: 219 arg: 'vspace' x: 0 y: 0 The following shows the relevant output for Insert->Formatting->Vertical Space. LyX lists the actions in the debug output in the console. (2) Execute the command for which you want to figure out the command sequence. (1) Start Lyx with the -dbg action option (that is, run /path/to/lyx-binary/lyx -dbg action from a console window). In the following, I describe the approach I used to figure this one out, so you could apply it for other questions in this respect: ![]() While for most commands LyX shows the last executed command in the status bar, this does not help for commands that open a dialog for further settings. The following command sequence inserts a \medskip in your document, you just have to bind it to the shortcut you prefer: inset-insert vspace medskip.Īt times it is a bit tricky to figure out what LyX commands one actually has to bind to a shortcut to achieve the desired behavior. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |