| 6334 | } |
| 6335 | |
| 6336 | Window::Cursor Editor::GetMarginCursor ( Point pt ) |
| 6337 | { |
| 6338 | int x = 0; |
| 6339 | for ( int margin = 0; margin <= SC_MAX_MARGIN; margin++ ) { |
| 6340 | if ( ( pt.x >= x ) && ( pt.x < x + vs.ms[margin].width ) ) { |
| 6341 | return static_cast<Window::Cursor> ( vs.ms[margin].cursor ); |
| 6342 | } |
| 6343 | x += vs.ms[margin].width; |
| 6344 | } |
| 6345 | return Window::cursorReverseArrow; |
| 6346 | } |
| 6347 | |
| 6348 | void Editor::TrimAndSetSelection ( int currentPos_, int anchor_ ) |
| 6349 | { |
nothing calls this directly
no outgoing calls
no test coverage detected