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

Function HL_Init

src/Helpers.c:2202–2230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2200
2201
2202VOID HL_Init ( HWND hWnd )
2203{
2204 //
2205 g_hwnd = hWnd;
2206 //
2207 //#ifdef _DEBUG
2208 if ( IniGetInt ( HL_INI_SECTION , L"DebugLog" , 0 ) ) {
2209 _hL_log = fopen ( "hl_log.log", "w" ) ;
2210 }
2211 //
2212#if 1
2213 //
2214 HL_Set_wheel_scroll ( b_HL_ctrl_wheel_scroll );
2215 //
2216 _hl_wheel_timer_to = IniGetInt ( HL_INI_SECTION , L"WheelScrollInterval" , _hl_wheel_timer_to );
2217 _hl_sel_edit_timer_to = IniGetInt ( HL_INI_SECTION , L"SelectionScrollTimeout" , _hl_sel_edit_timer_to );
2218 _hl_css_property = IniGetInt ( HL_INI_SECTION , L"CSSSettings" , _hl_css_property );
2219 _hl_ctx_menu_type = IniGetInt ( HL_INI_SECTION , L"ShellMenuType" , CMF_EXPLORE );
2220 _hl_max_search_range = IniGetInt(HL_INI_SECTION, L"MaxSearchDistance", 64) * 1024;
2221 b_Hl_use_prefix_in_open_dialog = IniGetInt ( HL_INI_SECTION , L"OpenDialogByPrefix" , b_Hl_use_prefix_in_open_dialog );
2222
2223 //
2224 *_hl_last_run = 0;
2225 //
2226 HLS_init();
2227
2228 //
2229#endif
2230}
2231
2232VOID HL_Release()
2233{

Callers 1

WinMainFunction · 0.85

Calls 2

HL_Set_wheel_scrollFunction · 0.85
HLS_initFunction · 0.85

Tested by

no test coverage detected