File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 247247(lazy-define (table table-widgets) open-cell-properties open-table-properties)
248248(tm-property (open-cell-properties) (:interactive #t ))
249249(tm-property (open-table-properties) (:interactive #t ))
250+ (use-modules (generic text-toolbar))
250251; ;(display* "time: " (- (texmacs-time) boot-start) "\n")
251252; ;(display* "memory: " (texmacs-memory) " bytes\n")
252253
526527 (display " Timing:" ) (display (- (texmacs-time) start-time)) (newline)
527528 ; (quit-TeXmacs)
528529 ))))))))))))
529-
Original file line number Diff line number Diff line change @@ -1189,12 +1189,6 @@ edit_interface_rep::should_show_text_toolbar () {
11891189 }
11901190 text_toolbar_last_check= now;
11911191
1192- static bool text_toolbar_module_loaded= false ;
1193- if (!text_toolbar_module_loaded) {
1194- eval (" (use-modules (generic text-toolbar))" );
1195- text_toolbar_module_loaded= true ;
1196- }
1197-
11981192 if (!as_bool (call (" text-toolbar-allowed-context?" ))) {
11991193 text_toolbar_last_result= false ;
12001194 return false ;
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ QTMTextToolbar::clearButtons () {
8888
8989void
9090QTMTextToolbar::rebuildButtonsFromScheme () {
91- eval (" (use-modules (generic text-toolbar))" );
9291 object menu= eval (" '(horizontal (link text-toolbar-icons))" );
9392 object obj = call (" make-menu-widget" , menu, 0 );
9493 if (!is_widget (obj)) return ;
You can’t perform that action at this time.
0 commit comments