1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 08:08:00 +01:00

Move completion indicators to CSS class. Provide current/default :sty/:hi CSS completions. Et cetera.

This commit is contained in:
Kris Maglione
2008-11-26 04:57:21 +00:00
parent f1a6bcc671
commit b38fff6137
6 changed files with 52 additions and 34 deletions

View File

@@ -1087,6 +1087,8 @@ function Editor() //{{{
expandAbbreviation: function (filter) // try to find an candidate and replace accordingly
{
var textbox = getEditor();
if (!textbox)
return;
var text = textbox.value;
var currStart = textbox.selectionStart;
var currEnd = textbox.selectionEnd;