The cursor is normally chosen in a context sensitive way, so it will be different over the margin than when over the text. When performing a slow action, you may wish to change to a wait cursor. You set the cursor type with set_cursor() . The curType argument can be:
SC_CURSORNORMAL | -1 | The normal cursor is displayed. |
SC_CURSORWAIT | 4 | The wait cursor is displayed when the mouse is over or owned by the Scintilla window. |
Cursor values 1 through 7 have defined cursors, but only SC_CURSORWAIT is usefully controllable. Other values of curType cause a pointer to be displayed. The set_cursor() method returns the last cursor type you set, or SC_CURSORNORMAL (-1) if you have not set a cursor type.