| 235 | } |
| 236 | |
| 237 | RECT NppInterface::editor_rect() const { |
| 238 | RECT out; |
| 239 | GetWindowRect(get_view_hwnd(), &out); |
| 240 | OffsetRect(&out, -out.left, -out.top); |
| 241 | return out; |
| 242 | } |
| 243 | |
| 244 | void NppInterface::delete_range(TextPosition start, TextPosition length) { |
| 245 | send_msg_to_scintilla(SCI_DELETERANGE, start, length); |