| 5594 | } |
| 5595 | |
| 5596 | void UICodeEditor::updateMouseCursor( const Vector2f& position ) { |
| 5597 | if ( getScreenBounds().contains( position ) ) { |
| 5598 | auto localPos( convertToNodeSpace( position ) ); |
| 5599 | bool overGutterOrTop = |
| 5600 | localPos.x < mPaddingPx.Left + getGutterWidth() || localPos.y < mPluginsTopSpace; |
| 5601 | getUISceneNode()->setCursor( |
| 5602 | mHandShown ? Cursor::Hand |
| 5603 | : ( !overGutterOrTop && !mLocked ? Cursor::IBeam : Cursor::Arrow ) ); |
| 5604 | } |
| 5605 | } |
| 5606 | |
| 5607 | void UICodeEditor::setTabIndentCharacter( Uint32 chr ) { |
| 5608 | if ( mTabIndentCharacter != chr ) { |
no test coverage detected