MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / HLS_Update_selection

Function HLS_Update_selection

src/HLSelection.c:645–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645void HLS_Update_selection ( UINT place )
646{
647 if ( b_HL_edit_selection ) {
648 UINT opt = 0;
649 if ( _hl_se_exit ) {
650 HLS_Edit_selection_stop ( HL_SE_APPLY );
651 return;
652 }
653 if ( SH_MODIF == place ) {
654 opt |= SEO_MODIFIED;
655 } else {
656 if ( !HLS_process_changes ( opt ) ) {
657 HLS_Edit_selection_stop ( HL_SE_APPLY );
658 }
659 }
660 } else {
661 HLS_Highlight_turn();
662 }
663}
664
665BOOL _check_se_mode ( struct SCNotification *scn )
666{

Callers 2

HLS_on_notificationFunction · 0.85
MsgCommandFunction · 0.85

Calls 3

HLS_Edit_selection_stopFunction · 0.85
HLS_process_changesFunction · 0.85
HLS_Highlight_turnFunction · 0.85

Tested by

no test coverage detected