From 15265b4ae7e56fa37f0531da82a4a6b5bdb2f14b Mon Sep 17 00:00:00 2001 From: paum3 Date: Tue, 26 Dec 2023 11:59:12 +0100 Subject: [PATCH] very uncomplete Emacs docs (new file) --- HelpSource/Classes/Emacs.schelp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 HelpSource/Classes/Emacs.schelp diff --git a/HelpSource/Classes/Emacs.schelp b/HelpSource/Classes/Emacs.schelp new file mode 100644 index 0000000..e2aa664 --- /dev/null +++ b/HelpSource/Classes/Emacs.schelp @@ -0,0 +1,25 @@ +TITLE:: Emacs +summary:: a little frontend for the legendary editor +categories:: Frontends>Emacs +related:: Classes/EmacsBuffer, Reference/EmacsEditor + +DESCRIPTION:: +A little frontend for the legendary editor. + +CLASSMETHODS:: + +METHOD:: evalLispExpression +Evaulates a emacs lisp code. + +code:: +Emacs.evalLispExpression(['sclang-switch-to-workspace']) +:: + +METHOD:: message +Display a formatted string with arguments in the Emacs's minubuffer.The % character in the format string is replaced by a string representation of an argument. To print a % character use \\% . + +code:: +Emacs.message("Just a text") +a = 433 +Emacs.message("Just a number: %d", a) +::