Blender Git Loki
Git Commits -> Revision 77332fa
Revision 77332fa by Ton Roosendaal (master) November 20, 2005, 10:04 (GMT) |
Patch by Matt Ebb: upgraded usablitiy of text button. Textbuttons now allow a selection too (like any textbutton in other UIs). By default, on activating a textbutton, the entire button text is selected when you enter the button. A single arrowkey or LMB click reveils the cursor then. Here's more user notes: LMB click: If inside the button, places the text cursor at the clicked position. If outside the button, confirms/finishes editing LMB drag: Selects the text between the start and end point of the drag. Backspace: Deletes selected text, or backspaces a character Shift Backspace: Deletes all, as before. Delete: Deletes selected text or forward deletes a character Shift LeftArrow: Extends the selection left Shift RightArrow: Extends the selection right LeftArrow: If there's a selection, move the cursor to the left edge of the selection, otherwise move the cursor left a character. RightArrow: If there's a selection, move the cursor to the right edge of the selection, otherwise move the cursor right a character. UpArrow/Home: Move the cursor to the beginning of the line DownArrow/End: Move the cursor to the end of the line Ctrl Left arrow and Ctrl Right arrow to jump between directory separators |
Commit Details:
Full Hash: 77332fa698fb79cc1d0c1539161e0e85c93b68f7
SVN Revision: 5845
Parent Commit: a86b0af
Lines Changed: +304, -58
9 Modified Paths:
/source/blender/include/BIF_resources.h (+2, -0) (Diff)
/source/blender/include/interface.h (+6, -2) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+4, -4) (Diff)
/source/blender/python/api2_2x/doc/Theme.py (+1, -0) (Diff)
/source/blender/python/api2_2x/windowTheme.c (+3, -1) (Diff)
/source/blender/src/interface.c (+228, -35) (Diff)
/source/blender/src/interface_draw.c (+46, -16) (Diff)
/source/blender/src/resources.c (+4, -0) (Diff)
/source/blender/src/usiblender.c (+10, -0) (Diff)
/source/blender/include/interface.h (+6, -2) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+4, -4) (Diff)
/source/blender/python/api2_2x/doc/Theme.py (+1, -0) (Diff)
/source/blender/python/api2_2x/windowTheme.c (+3, -1) (Diff)
/source/blender/src/interface.c (+228, -35) (Diff)
/source/blender/src/interface_draw.c (+46, -16) (Diff)
/source/blender/src/resources.c (+4, -0) (Diff)
/source/blender/src/usiblender.c (+10, -0) (Diff)