File: ipc_copypaste2.wxm

package info (click to toggle)
wxmaxima 20.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 46,476 kB
  • sloc: cpp: 77,833; xml: 10,445; ansic: 3,583; lisp: 1,837; makefile: 13; sh: 7
file content (27 lines) | stat: -rw-r--r-- 973 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
/* [ Created with wxMaxima version 20.06.6-DevelopmentSnapshot ] */
/* [wxMaxima: input   start ] */
foo;
/* [wxMaxima: input   end   ] */


/* [wxMaxima: comment start ]
wxMaxima must be called with --enableipc for IPC to work!
   [wxMaxima: comment end   ] */


/* [wxMaxima: comment start ]
The lisp code generates ipc event markup for SELECTALL, SELECTALL, COPY, PASTE.
The events are delivered *queued*.
It used to crashe wxMaxima due to a logic bug in the Worksheet::PasteFromClipboard.
   [wxMaxima: comment end   ] */


/* [wxMaxima: input   start ] */
:lisp (format t "<ipc><qevent type=\"MENU\" id=\"SELECTALL\" /><qevent type=\"MENU\" id=\"SELECTALL\" /><qevent type=\"MENU\" id=\"COPY\" /><qevent type=\"MENU\" id=\"PASTE\" /></ipc>")
/* [wxMaxima: input   end   ] */



/* Old versions of Maxima abort on loading files that end in a comment. */
"Created with wxMaxima 20.06.6-DevelopmentSnapshot"$