Fixes: NB#270266 word selection backwards doesn't select starting word
Fixes: NB#270266 word selection backwards doesn't select starting word

RevBy: Jarno Malmari
Details:
 respect selection direction while extending it to selection unit (word or line)

ModifiedBy: Jarno Malmari
  - combined two if-else statements into one

nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch