| 55 | } |
| 56 | |
| 57 | void Entry::SetCursorPosition( int new_position ) { |
| 58 | if( new_position == m_cursor_position ) { |
| 59 | return; |
| 60 | } |
| 61 | |
| 62 | auto delta = static_cast<int>( new_position ) - static_cast<int>( m_cursor_position ); |
| 63 | MoveCursor( delta ); |
| 64 | } |
| 65 | |
| 66 | void Entry::HideText( std::uint32_t c ) { |
| 67 | if( c == 0x00 || ( c > 0x1f && c != 0x7f ) ) { |
nothing calls this directly
no outgoing calls
no test coverage detected