Author Topic: small improvement for get_quick_search_word()  (Read 1758 times)

hs2

  • Senior Community Member
  • Posts: 2727
  • Hero Points: 281
small improvement for get_quick_search_word()
« on: July 06, 2007, 05:08:37 pm »
@Slickteam:
When quick_(reverse)search'ing a BLOCK selection the last char could be not included (maybe dep. on the select setup).
I'm using the patch below to solve this issue.

search.e - get_quick_search_word() [line 3086]: (v12.02)
Code: [Select]
         _get_selinfo(start_col,last_col,buf_id);
         // HS2-CHG: maybe convert BLOCK selections to CHAR selections
         if (_select_type('','T') == 'BLOCK')
         {
            _select_type('','T', 'CHAR');
            _select_char('',def_select_style:+def_advanced_select);
         }
         
If I don't miss sth. else this could be added to the next release/hotfix package.

HS2