| 148 | |
| 149 | |
| 150 | void HLS_release() |
| 151 | { |
| 152 | int k = 0; |
| 153 | if ( _hl_se_tr.lpstrText ) { |
| 154 | HL_Free ( _hl_se_tr.lpstrText ); |
| 155 | _hl_se_tr.lpstrText = 0; |
| 156 | } |
| 157 | if ( _hl_se_orig_word ) { |
| 158 | HL_Free ( _hl_se_orig_word ); |
| 159 | _hl_se_orig_word = 0; |
| 160 | } |
| 161 | for ( k = 0;k < COUNTOF(_hl_se_array);++k) |
| 162 | { |
| 163 | SE_DATA* se = &_hl_se_array [k]; |
| 164 | if (se->original){ |
| 165 | HL_Free(se->original); |
| 166 | se->original = NULL; |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | int HLS_get_wraps ( int beg , int end ) |
| 172 | { |