| 6089 | } |
| 6090 | |
| 6091 | static bool Close ( Point pt1, Point pt2 ) |
| 6092 | { |
| 6093 | if ( abs ( pt1.x - pt2.x ) > 3 ) { |
| 6094 | return false; |
| 6095 | } |
| 6096 | if ( abs ( pt1.y - pt2.y ) > 3 ) { |
| 6097 | return false; |
| 6098 | } |
| 6099 | return true; |
| 6100 | } |
| 6101 | |
| 6102 | std::string Editor::RangeText ( int start, int end ) const |
| 6103 | { |