More fixes for issue 57.

- move the selection highlight code to the Text mode.
- store $selectionOccurrences in the editor session.
- add option to toggle selection highlighting. In demo page as well.
This commit is contained in:
Mihai Sucan 2011-02-14 20:43:54 +02:00
commit be0d9a2be7
4 changed files with 89 additions and 53 deletions

View file

@ -108,6 +108,10 @@
<label for="show_print_margin">Show Print Margin</label>
<input type="checkbox" id="show_print_margin" checked>
</td>
<td align="right">
<label for="highlight_selected_word">Highlight selected word</label>
<input type="checkbox" id="highlight_selected_word" checked>
</td>
</tr>
</table>