| 602 | |
| 603 | |
| 604 | VOID HLS_Edit_selection_start() |
| 605 | { |
| 606 | // if mode already ON - then turn it OFF |
| 607 | if ( b_HL_edit_selection ) { |
| 608 | HLS_Edit_selection_stop ( HL_SE_APPLY ); |
| 609 | return; |
| 610 | } |
| 611 | _hl_se_init = TRUE; |
| 612 | _hl_se_count = 0; |
| 613 | HLS_Highlight_turn ( ); |
| 614 | _hl_se_init = FALSE; |
| 615 | if ( b_HL_edit_selection ) { |
| 616 | SendMessage ( hwndEdit , SCI_SETSEL , _hl_se_tr.chrg.cpMin , _hl_se_tr.chrg.cpMax ); |
| 617 | SendMessage ( hwndEdit , SCI_BEGINUNDOACTION , 0, 0 ); |
| 618 | _hl_se_exit = FALSE; |
| 619 | } |
| 620 | } |
| 621 | |
| 622 | |
| 623 | VOID HLS_Edit_selection_stop ( UINT mode ) |
no test coverage detected