*JSCall delimiter changed; hopefully an extended ASCII char will do

svn path=/trunk/aspeditor/; revision=49932
This commit is contained in:
Blagovest Dachev 2005-09-12 04:57:17 +00:00
Родитель ed28d93881
Коммит ed5da8c079
3 изменённых файлов: 261 добавлений и 268 удалений

Просмотреть файл

@ -1,24 +1,14 @@
INSTALLATION
============
All the files in src/chrome/content should go in $MOZ_HOME/chrome/aspdesigner/content/aspdesigner
All the files in src/chrome/locale should go in $MOZ_HOME/chrome/aspdesigner/locale/en-US/aspdesigner
All the files in src/chrome/skin should go in $MOZ_HOME/chrome/aspdesigner/skin/aspdesigner
All the files in src/chrome/content should go in $MOZ_HOME/chrome/aspdesigner/content
All the files in src/chrome/locale should go in $MOZ_HOME/chrome/aspdesigner/locale/en-US
The following lines should be added to the end of $MOZ_HOME/chrome/installed-chrome.txt:
content,install,url,resource:/chrome/aspdesigner/content/aspdesigner/
skin,install,url,resource:/chrome/aspdesigner/skin/aspdesigner/
locale,install,url,resource:/chrome/aspdesigner/locale/en-US/aspdesigner/
content,install,url,resource:/chrome/aspdesigner/content/
locale,install,url,resource:/chrome/aspdesigner/locale/en-US/
The extention will be available through the following URL:
chrome://aspdesigner/content/aspdesigner.xul
Alternatively a jar file instalation will yield the following:
$MOZ_HOME/chrome/aspNetEditor.jar
The following lines should be added to the end of $MOZ_HOME/chrome/installed-chrome.txt:
content,install,url,jar:resource:/chrome/aspNetEditor.jar!/content/
locale,install,url,jar:resource:/chrome/aspNetEditor.jar!/locale/en-US/
skin,install,url,jar:resource:/chrome/aspNetEditor.jar!/skin/
chrome://aspdesigner/content/editor.xul
EDITOR COMMANDS
===============
@ -27,3 +17,6 @@ http://lxr.mozilla.org/seamonkey/source/editor/docs/Editor_Embedding_Guide.html
Currently commands with parameters are NOT supported. This is going to change soon.
INTERFACE
===============

Просмотреть файл

@ -60,7 +60,7 @@ namespace AspNetEdit.JSCall
if (!webControl.Title.StartsWith ("JSCall"))
return;
string[] call = webControl.Title.Split ('|');
string[] call = webControl.Title.Split ((char)234);
if (call.Length < 2)
throw new Exception ("Too few parameters in call from JavaScript");

Просмотреть файл

@ -87,13 +87,13 @@ function JSCallHandler(e)
function JSCallPlaceClrCall(fn, returnTo, args) {
str = "JSCall|" + fn + "|" + returnTo + "|";
var delimiter = unescape ("%ea");
str = "JSCall" + delimiter + fn + delimiter + returnTo + delimiter;
if (args && args.length > 0)
{
str += args.join("|");
str += args.join(delimiter);
}
document.title= str;
}