https://bugs.documentfoundation.org/show_bug.cgi?id=159296
Heiko Tietze <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Blocks| |125257 See Also| |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=13 | |2458 CC| |mentoring@documentfoundatio | |n.org Ever confirmed|0 |1 Keywords| |difficultyBeginner, | |easyHack, skillCpp --- Comment #2 from Heiko Tietze <[email protected]> --- The tip is "Use Shift+Space to select the current row and %MOD1+Space to select the current column.". The %MOD replacement is done in cui/source/dialogs/tipofthedaydlg.cxx; simply follow the example of m_pText->set_label(CuiResId(sTip).replaceAll("%MOD1", aMOD1).replaceAll("%MOD2", aMOD2)); or rather extend the function. aMod1/2 are assigned above #ifdef MACOSX const OUString aMOD1 = CuiResId(STR_CMD); const OUString aMOD2 = CuiResId(STR_Option); ... And defined at the end of the hrc file. I'd use something like #define STR_CARET NC_("STR_CARET", "⌃ Ctrl") #define STR_SHIFT NC_("STR_SHIFT", "Shift") We use Shift on many tips, and some might be "^ Ctrl" on macOS. Needs to be double-checked with what is actually assigned in Accelerators.xcu. For MOD3 = Ctrl see AquaSalFrame::GetKeyName() in vcl/osx/salframe.cxx. Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=125257 [Bug 125257] [META] Tip of the day -- You are receiving this mail because: You are the assignee for the bug.
