equal
deleted
inserted
replaced
287 /* main plugin plumbing */ |
287 /* main plugin plumbing */ |
288 |
288 |
289 @volatile private var startup_failure: Option[Throwable] = None |
289 @volatile private var startup_failure: Option[Throwable] = None |
290 @volatile private var startup_notified = false |
290 @volatile private var startup_notified = false |
291 |
291 |
292 private def init_view(view: View) |
292 private def init_editor(view: View) |
293 { |
293 { |
294 Session_Build.check_dialog(view) |
294 Session_Build.check_dialog(view) |
295 Keymap_Merge.check_dialog(view) |
295 Keymap_Merge.check_dialog(view) |
296 } |
296 } |
297 |
297 |
339 } |
339 } |
340 |
340 |
341 jEdit.propertiesChanged() |
341 jEdit.propertiesChanged() |
342 |
342 |
343 val view = jEdit.getActiveView() |
343 val view = jEdit.getActiveView() |
344 init_view(view) |
344 init_editor(view) |
345 |
345 |
346 PIDE.editor.hyperlink_position(true, Document.Snapshot.init, |
346 PIDE.editor.hyperlink_position(true, Document.Snapshot.init, |
347 JEdit_Sessions.logic_root(options.value)).foreach(_.follow(view)) |
347 JEdit_Sessions.logic_root(options.value)).foreach(_.follow(view)) |
348 |
348 |
349 case msg: ViewUpdate |
349 case msg: ViewUpdate |
478 } |
478 } |
479 |
479 |
480 shutting_down.change(_ => false) |
480 shutting_down.change(_ => false) |
481 |
481 |
482 val view = jEdit.getActiveView() |
482 val view = jEdit.getActiveView() |
483 if (view != null) init_view(view) |
483 if (view != null) init_editor(view) |
484 } |
484 } |
485 |
485 |
486 override def stop() |
486 override def stop() |
487 { |
487 { |
488 http_server.stop |
488 http_server.stop |