Convivea

Bit Che => Bugs & Feature Requests => Topic started by: ID101 on June 27, 2016, 07:09:41 pm

Title: [FEATURE REQUEST] Smart handling of white space input, Save search input before
Post by: ID101 on June 27, 2016, 07:09:41 pm
[FEATURE REQUEST] Smart handling of white space search input.

//Automatically handle white spaces (Tabs and Spaces) in a search string
//Potentially useful for Copy, Paste, Search scenario
//current behavior - On click search - remove any Tabs from search string, do nothing with Spaces

On click search
 If before valid(alphanumeric and special symbols) there are Tabs or Spaces
   remove these Tabs and Spaces   

 If after valid(alphanumeric and special symbols) there are Tabs or Spaces
   remove these Tabs and Spaces

 If there are any tabs between valid(alphanumeric and special symbols)
   translate Tabs to Spaces

 Count Spaces between valid(alphanumeric and special symbols)
      if in the search string there is more than one Space in a row
         make it only one Space



On click search
   save corrected search string in search history before executing search function
/* in case of program crash you will not need to enter it again
it will make it useful for analysis of problems with functionality*/
Title: Re: [FEATURE REQUEST] Smart handling of white space input, Save search input before
Post by: ID101 on July 03, 2016, 06:34:39 am
I think that auto removal "-" from search string would be beneficial.(or option in menu)
on some pages pages it triggers substract(exclude)
on some it's ignored
and on some it's normal sign

Generally using "-" is not advised.