List of Editor Key Commands

The Tabbed Scripting Editor introduced in 3ds Max 2008 provides the following COMMAND IDs which can be used to define custom Keyboard Shortcuts and Right-Click menus that operate on the current document.

COMMAND NAME EXPLANATION
2101 AutoCCancel Remove the auto-completion list from the screen.
2104 AutoCComplete User has selected an item so remove the list and insert the selection.
2328 BackTab Dedent the selected lines.
2078 BeginUndoAction Start a sequence of actions that is undone and redone as a unit. May be nested.
2201 CallTipCancel Remove the call tip from the screen.
2325 Cancel Cancel any modes such as call tip or auto-completion list display.
2304 CharLeft Move caret left one character.
2305 CharLeftExtend Move caret left one character extending selection to new caret position.
2428 CharLeftRectExtend Move caret left one character, extending rectangular selection to new caret position.
2306 CharRightMove caret right one character.
2307 CharRightExtend Move caret right one character extending selection to new caret position.
2429 CharRightRectExtend Move caret right one character, extending rectangular selection to new caret position.
2399 ChooseCaretX Set the last x chosen value to be the caret x position.
2180 Clear Clear the selection.
2004 ClearAll Delete all text in the document.
2072 ClearAllCmdKeys Drop all key mappings.
2005 ClearDocumentStyle Set all style bytes to 0, remove all folding information.
2408 ClearRegisteredImages Clear all the registered XPM images.
2178 Copy Copy the selection to the clipboard.
2177 Cut Cut the selection to the clipboard.
3295 DelLineLeft Delete back from the current position to the start of the line.
2395 DelLineRight Delete forwards from the current position to the end of the line.
2335 DelWordLeft Delete the word to the left of the caret.
2336 DelWordRight Delete the word to the right of the caret.
2326 DeleteBack Delete the selection or if no selection, the character before the caret.
2344 DeleteBackNotLine Delete the selection or if no selection, the character before the caret. Will not delete the character before at the start of a line.
2318 DocumentEnd Move caret to last position in document.
2319 DocumentEndExtend Move caret to last position in document extending selection to new caret position.
2316 DocumentStart Move caret to first position in document.
2317 DocumentStartExtend Move caret to first position in document extending selection to new caret position.
2324 EditToggleOvertype Switch from insert to overtype mode or the reverse.
2175 EmptyUndoBuffer Delete the undo history.
2079 EndUndoAction End a sequence of actions that is undone and redone as a unit.
2330 FormFeed Insert a Form Feed character.
2400 GrabFocus Set the focus to this Scintilla widget.
2312 Home Move caret to first position on line.
2345 HomeDisplay Move caret to first position on display line.
2346 HomeDisplayExtend Move caret to first position on display line extending selection to new caret position.
2313 HomeExtend Move caret to first position on line extending selection to new caret position.
2430 HomeRectExtend Move caret to first position on line, extending rectangular selection to new caret position.
2349 HomeWrap These are like their namesakes Home (Extend)?, LineEnd (Extend)?, VCHome (Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home
2450 HomeWrapExtend These are like their namesakes Home (Extend)?, LineEnd (Extend)?, VCHome (Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home
2455 LineCopy Copy the line containing the caret.
2337 LineCut Cut the line containing the caret.
2338 LineDelete Delete the line containing the caret.
2300 LineDown Move caret down one line.
2301 LineDownExtend Move caret down one line extending selection to new caret position.
2426 LineDownRectExtend Move caret down one line, extending rectangular selection to new caret position.
2404 LineDuplicate Duplicate the current line.
2314 LineEnd Move caret to last position on line.
2347 LineEndDisplay Move caret to last position on display line.
2348 LineEndDisplayExtend Move caret to last position on display line extending selection to new caret position.
2315 LineEndExtend Move caret to last position on line extending selection to new caret position.
2432 LineEndRectExtend Move caret to last position on line, extending rectangular selection to new caret position.
2451 LineEndWrap These are like their namesakes Home (Extend)?, LineEnd (Extend)?, VCHome (Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home
2452 LineEndWrapExtend These are like their namesakes Home (Extend)?, LineEnd (Extend)?, VCHome (Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home
2342 LineScrollDown Scroll the document down, keeping the caret visible.
2343 LineScrollUp Scroll the document up, keeping the caret visible.
2339 LineTranspose Switch the current line with the previous.
2302 LineUp Move caret up one line.
2303 LineUpExtend Move caret up one line extending selection to new caret position.
2427 LineUpRectExtend Move caret up one line, extending rectangular selection to new caret position.
2288 LinesJoin Join the lines in the target.
2340 LowerCase Transform the selection to lower case.
2401 MoveCaretInsideView Move the caret inside current view if it's not there already.
2329 NewLine Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
2172 Null Null operation.
2322 PageDown Move caret one page down.
2323 PageDownExtend Move caret one page down extending selection to new caret position.
2434 PageDownRectExtend Move caret one page down, extending rectangular selection to new caret position.
2320 PageUp Move caret one page up.
2321 PageUpExtend Move caret one page up extending selection to new caret position.
2433 PageUpRectExtend Move caret one page up, extending rectangular selection to new caret position.
2413 ParaDown Move caret between paragraphs (delimited by empty lines).
2414 ParaDownExtend Move caret between paragraphs (delimited by empty lines).
2415 ParaUp Move caret between paragraphs (delimited by empty lines).
2416 ParaUpExtend Move caret between paragraphs (delimited by empty lines).
2179 Paste Paste the contents of the clipboard into the document replacing the selection.
2011 Redo Redoes the next action on the undo history.
2169 ScrollCaret Ensure the caret is visible.
2366 SearchAnchor Sets the current caret position to be the search anchor.
2013 SelectAll Select all the text in the document.
2469 SelectionDuplicate Duplicate the selection. If selection empty duplicate the line containing the caret.
2444 SetCharsDefault Reset the set of characters for whitespace and word characters to the defaults.
2014 SetSavePoint Remember the current position in the undo history as the position at which the document was saved.
3001 StartRecord Start notifying the container of all key presses and commands.
3002 StopRecord Stop notifying the container of all key presses and commands.
2437 StutteredPageDown Move caret to bottom of page, or one page down if already at bottom of page.
2438 StutteredPageDownExtend Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
2435 StutteredPageUp Move caret to top of page, or one page up if already at top of page.
2436 StutteredPageUpExtend Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
2058 StyleResetDefault Reset the default style to its state at startup
2327 Tab If selection is empty or all on one line replace the selection with a tab character. If more than one line selected, indent the lines.
2287 TargetFromSelection Make the target range start and end be the same as the selection range start and end.
2459 ToggleCaretSticky Switch between sticky and non-sticky: meant to be bound to a key.
2176 Undo Undo one action in the undo history.
2341 UpperCase Transform the selection to upper case.
2331 VCHome Move caret to before first visible character on line. If already there move to first character on line.
2332 VCHomeExtend Like VCHome but extending selection to new caret position.
2431 VCHomeRectExtend Move caret to before first visible character on line. If already there move to first character on line. In either case, extend rectangular selection to new caret position.
2453 VCHomeWrap These are like their namesakes Home (Extend)?, LineEnd (Extend)?, VCHome (Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home
2454 VCHomeWrapExtend These are like their namesakes Home (Extend)?, LineEnd( Extend)?, VCHome (Extend)? except they behave differently when word-wrap is enabled: They go first to the start / end of the display line, like (Home
2308 WordLeft Move caret left one word.
2439 WordLeftEnd Move caret left one word, position cursor at end of word.
2440 WordLeftEndExtend Move caret left one word, position cursor at end of word, extending selection to new caret position.
2309 WordLeftExtend Move caret left one word extending selection to new caret position.
2390 WordPartLeft Move to the previous change in capitalization.
2391 WordPartLeftExtend Move to the previous change in capitalization extending selection to new caret position.
2392 WordPartRight Move to the change next in capitalization.
2393 WordPartRightExtend Move to the next change in capitalization extending selection to new caret position.
2310 WordRight Move caret right one word.
2441 WordRightEnd Move caret right one word, position cursor at end of word.
2442 WordRightEndExtend Move caret right one word, position cursor at end of word, extending selection to new caret position.
2311 WordRightExtend Move caret right one word extending selection to new caret position.
2333 ZoomIn Magnify the displayed text by increasing the sizes by 1 point.
2334 ZoomOut Make the displayed text smaller by decreasing the sizes by 1 point.