pub fn selection(&self) -> Range<u32> {
        use winapi::um::winuser::EM_GETSEL;

        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);

        let mut start = 0u32;
        let mut end = 0u32;
        let ptr1 = &mut start as *mut u32;
        let ptr2 = &mut end as *mut u32;
        wh::send_message(handle, EM_GETSEL as UINT, ptr1 as WPARAM, ptr2 as LPARAM);

        start..end
    }
/// Return the selected range of characters by the user in the text input
Return the selected range of characters by the user in the text input
Return the selected range of characters by the user in the text input
pub fn selection(&self) -> Range<u32> {
        use winapi::um::winuser::EM_GETSEL;
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let mut start = 0u32;
        let mut end = 0u32;
        let ptr1 = &mut start as *mut u32;
        let ptr2 = &mut end as *mut u32;
        wh::send_message(handle, EM_GETSEL as UINT, ptr1 as WPARAM, ptr2 as LPARAM);
        start..end
    }
pub fn selection ( & self ) -> Range < u32 > { use winapi :: um :: winuser :: EM_GETSEL ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let mut start = 0u32 ; let mut end = 0u32 ; let ptr1 = & mut start as * mut u32 ; let ptr2 = & mut end as * mut u32 ; wh :: send_message ( handle , EM_GETSEL as UINT , ptr1 as WPARAM , ptr2 as LPARAM ) ; start .. end }
Return the selected range of characters by the user in the text input
Return the selected range of characters by the user in the text input
&self