RefreshCapcha

Author Topic: [FEATURE REQUEST] Smart handling of white space input, Save search input before  (Read 2761 times)

Offline ID101

  • Black Box Tester
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +3/-0
    • View Profile
[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*/
« Last Edit: July 01, 2016, 09:18:52 am by ID101 »

Offline ID101

  • Black Box Tester
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +3/-0
    • View Profile
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.
« Last Edit: July 03, 2016, 07:27:19 am by ID101 »