Current Command Window Selection

Posted by Cage_fire_2000 on Thu 12 Nov 2009 04:36 AM — 4 posts, 17,366 views.

USA #0
In the help files it lists that GetInfo() 283 and 284 are the beginning and ends of the current selection in the command window, but when I try to get them even when something is selected, I get nil values. Maybe this is because I'm click an alias menu option? Or maybe the help files are wrong. I don't know.

Oh, I see the problem, 236 and 237 already do the same thing, you must've realized that and taken out the selectors, but forgot to take them out of the help file for GetInfo().
Australia Forum Administrator #1
You are right, 283 and 284 are not implemented. I have amended the help file for the next version.
USA #2
You might also want to reference those two in related help files, maybe mention them in the help for SetCommandSelection() or maybe GetSelectionStartLine() and the like. Maybe something like "If you want to get the selection of the /command/ window instead, use GetInfo(236) and GetInfo(237)." It saves anybody who wants to do that from having to look through all the help files.
Australia Forum Administrator #3
OK did that, good idea.