Forum > Editor
Option to print the Key mapping list?
(1/1)
jamie:
It would be nice to be able to print out the key mapping list so I could reference the short cuts
like a cheat sheet..
Optionally print out only those you are interested in or all of them..
it's easier for me to have a quick up to date shortcut cheat sheet card in front of me than wandering
through the pile of options in the OPTIONS menu to find it..
ASerge:
--- Quote from: jamie on January 28, 2018, 02:06:54 am --- It would be nice to be able to print out the key mapping list so I could reference the short cuts
like a cheat sheet..
--- End quote ---
Open file ..\Lazarus\ide\frames\editor_keymapping_options.pas.
Add some button, for example PrintButton.
Save file.
Add code for it:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---procedure TEditorKeymappingOptionsFrame.PrintButtonClick(Sender: TObject);var L: TStringStream;begin L := TStringStream.Create(''); try TreeView.SaveToStream(L); Clipboard.AsText := L.DataString; finally L.Free; end; ShowMessage('Tree in clipboard');end; Rebuild IDE.
jamie:
I mite just do that.
:D
Navigation
[0] Message Index