chnge the curson in the IDE
BlitzMax Forums/BlitzMax Beginners Area/chnge the curson in the IDE
| ||
Is there anyway of making the blinking cursor a bit more noticeable in the standard BlitzMax IDE ? Perhaps a flashing square ? Either my eyesight is no good or I keep losing its position! |
| ||
Same here. My eyesight is great, but I lose it everytime. |
| ||
I third this motion! |
| ||
after many attempts, i finally found the correct win32 call, having a few problems getting it to work properly though:' createtextarea.bmx Strict Extern "win32" Function CreateCaret(hWnd,hBitmap:Byte Ptr,nWidth,nHeight) Function ShowCaret(hWnd) End Extern Local window:TGadget Local textarea:TGadget window=CreateWindow("My Window",130,20,200,200,,15|WINDOW_ACCEPTFILES) textarea=CreateTextArea(0,0,ClientWidth(window),ClientHeight(window)/2,window) SetGadgetLayout textarea,1,1,1,1 SetGadgetText textarea,"a textarea gadget~none line~nandanother" ActivateGadget textarea Local hwnd,caret hwnd=QueryGadget(textarea,QUERY_HWND) While WaitEvent() Print CurrentEvent.ToString()+" "+EventSourceHandle() Select EventID() Case EVENT_GADGETACTION,EVENT_GADGETSELECT caret=CreateCaret(hwnd,Null,2,12) ShowCaret(hwnd) DebugLog "caret="+caret Case EVENT_WINDOWCLOSE End Case EVENT_APPTERMINATE End End Select Wend |
| ||
Seems to work here. Whats wrong? |
| ||
I would also like the cursor to actually jump to and point to the EXACT place in the code where there was an error when the debug mode bombs out. |
| ||
"I would also like the cursor to actually jump to and point to the EXACT place in the code where there was an error when the debug mode bombs out." Amen to that. |
| ||
I second everything said but would like it compiled into the next IDE version if possible as I have no idea how to apply the above fix. |
| ||
I would also like the cursor to actually jump to and point to the EXACT place in the code where there was an error when the debug mode bombs out. I added this, along with highlighting the error line, to the CEIDE quite early on, admittedly it was pretty hackish but it worked. However, someone must've objected to it as it was removed.:o/ |