History log of /seL4-l4v-10.1.1/isabelle/src/Tools/jEdit/src/pretty_text_area.scala
Revision Date Author Comments
# 6b4e44fc 01-May-2018 wenzelm <none@none>

avoid output showing up in kill ring (via TextArea.setText, JEditBuffer.remove, UndoManager.contentRemoved), e.g. relevant for action "paste-deleted";


# 4aa14774 30-Jan-2018 wenzelm <none@none>

clarified breakgain: keeping it constant avoids margin fluctuation in Pretty_Tooltip vs. Pretty_Text_Area;


# 429955ce 19-Jun-2017 wenzelm <none@none>

clarified signature;


# c0d89baa 23-May-2017 wenzelm <none@none>

clarified modules;


# c4befa17 14-Mar-2017 wenzelm <none@none>

clarified modules;


# a32a3cb4 20-Dec-2016 wenzelm <none@none>

clarified module name;

--HG--
rename : src/Tools/jEdit/src/rendering.scala => src/Tools/jEdit/src/jedit_rendering.scala


# 3af9919c 08-Jun-2016 wenzelm <none@none>

proper noWordSep as in "isabelle" mode (cf. 5024d0c48e02);


# 0805c888 19-Apr-2016 wenzelm <none@none>

more thorough update;


# 71289174 20-Jan-2016 wenzelm <none@none>

bypass input method for better imitation of read-only mode (cf. f26a4d5e82b5): e.g. relevant for composition of ALT-u u on Mac OS X;


# 6e0de992 04-Nov-2015 wenzelm <none@none>

dummy input handler to imitate former read-only mode, which has changed its meaning in jedit-5.3.0 as mere hint for saving;


# 7e09959e 03-Nov-2015 wenzelm <none@none>

prefer Isabelle/Scala Future;


# ebff3653 03-Nov-2015 wenzelm <none@none>

clarified modules;

--HG--
rename : src/Pure/Concurrent/simple_thread.ML => src/Pure/Concurrent/standard_thread.ML
rename : src/Pure/Concurrent/simple_thread.scala => src/Pure/Concurrent/standard_thread.scala


# 5be240fb 19-Sep-2015 wenzelm <none@none>

tuned;


# 1e6fed36 03-May-2015 wenzelm <none@none>

proper fold painter according to jEdit options, not the hardwired default of JEditEmbeddedTextArea;


# 37b03ce6 05-Jan-2015 wenzelm <none@none>

GUI.imitate_font: more explicit result size, e.g. relevant for caching;
some graphview font options: Helvetica family is important for self-contained PDF;
tuned;


# 56e150fd 01-Jan-2015 wenzelm <none@none>

tuned;


# 12cd2504 02-Dec-2014 wenzelm <none@none>

node-specific syntax, with base_syntax as default;
clarified Document_Model.init: convergence of editor events towards buffer-specific token marker;


# db5db106 01-Dec-2014 wenzelm <none@none>

clarified token marker / syntax for mode vs. buffer;


# ace1ddb7 30-Oct-2014 wenzelm <none@none>

hardwired imitation of copy.shortcut2 default;


# f0c936d8 22-Oct-2014 wenzelm <none@none>

tuned imports;


# 40e642df 23-Jul-2014 wenzelm <none@none>

clarified module name: facilitate alternative GUI frameworks;

--HG--
rename : src/Pure/GUI/swing_thread.scala => src/Pure/GUI/gui_thread.scala


# 373dfd17 21-May-2014 wenzelm <none@none>

tuned signature;


# d79af697 08-May-2014 wenzelm <none@none>

clarified detach_operation: ignore empty output;


# 7ca4cbdd 08-May-2014 wenzelm <none@none>

enable "PIDE" docking framework by default, and rely on its "Detach" menu item;


# a5b5f7f3 06-May-2014 wenzelm <none@none>

clarified GUI events, e.g. relevant for insert via completion;


# 7c5f78a1 06-May-2014 wenzelm <none@none>

common support for search field, which is actually a light-weight Highlighter;


# 365407bb 06-May-2014 wenzelm <none@none>

more uniform detach button;


# 9c0cc12c 06-May-2014 wenzelm <none@none>

tuned signature;


# 0c84e16f 05-May-2014 wenzelm <none@none>

tuned signature;

--HG--
rename : src/Pure/System/interrupt.scala => src/Pure/System/posix_interrupt.scala


# 6e7503e0 29-Apr-2014 wenzelm <none@none>

tuned whitespace;


# 2982c96b 25-Apr-2014 wenzelm <none@none>

tuned signature -- separate pool for JFuture tasks, which can be canceled;


# ca95d698 24-Apr-2014 wenzelm <none@none>

tuned signature;


# da5844fe 22-Apr-2014 wenzelm <none@none>

avoid "Adaptation of argument list by inserting ()" -- deprecated in scala-2.11.0;


# 7985758a 02-Apr-2014 wenzelm <none@none>

observe extra line spacing for output as well;


# cbbb44d3 29-Mar-2014 wenzelm <none@none>

do not absorb vacuous copy operation, e.g. relevant when tooltip has focus but no selection, while the main text area has a selection but no focus;


# fce3dbb6 01-Mar-2014 wenzelm <none@none>

tuned;


# d96a05b2 01-Mar-2014 wenzelm <none@none>

tuned signature -- separate module Font_Info;


# 49df8154 29-Aug-2013 wenzelm <none@none>

more uniform configuration of editor modes and token markers;


# d36095d1 28-Aug-2013 wenzelm <none@none>

dismiss popups more uniformly;


# d7ad044d 27-Aug-2013 wenzelm <none@none>

avoid complication and event duplication due to KeyEventInterceptor -- NB: popup has focus within root window, it is closed on loss of focus;
uniform JEdit_Lib.propagate_key;


# 590f77d9 27-Aug-2013 wenzelm <none@none>

more standard key handling according to jEdit (with workaround);
clarified handling of ESCAPE (again): dismiss without second interpretation as select-none;


# 769d1394 26-Aug-2013 wenzelm <none@none>

more systematic JEdit_Lib.key_listener with optional KeyEventWorkaround;


# 93b8548b 24-Aug-2013 wenzelm <none@none>

tuned signature;


# bbf6c428 12-Aug-2013 wenzelm <none@none>

tuned signature;


# a3f27e96 12-Aug-2013 wenzelm <none@none>

imitate "noWordSep" of isabelle mode, e.g. relevant for word selection via double-click;


# 20de9b6a 12-Aug-2013 wenzelm <none@none>

support somewhat standard "select all" by default;


# 95654b96 07-Jul-2013 wenzelm <none@none>

some attempts to avoid sandwiching of actions stemming from single ESCAPE key event, to avoid potential conflict with ongoing text selection;


# 328dbab6 05-Jul-2013 wenzelm <none@none>

explicit module Document_ID as source of globally unique identifiers across ML/Scala;


# 4f5ef9b1 04-Jul-2013 wenzelm <none@none>

separate exec_id assignment for Command.print states, without affecting result of eval;
tuned signature;
tuned;


# 7f5fb119 29-Jun-2013 wenzelm <none@none>

more aggresive ESCAPE handling, while retaining its regular meaning for jEdit;


# 831f398a 29-Jun-2013 wenzelm <none@none>

manage popup windows via PopupFactory, which prefers light-weight JComponent, but might fall back on JWindow (despite JPanel of 0f88591478e6);
more explicit tooltip hierarchy: manage exactly the visible stack -- caching is part of PopupFactory;
auxiliary geometry measurement via single hidden window;
tuned signature;


# 5dd45c8f 23-Mar-2013 wenzelm <none@none>

reverted most of 5944b20c41bf -- tends to cause race condition of synchronous vs. asynchronous version;


# 0d79b0c2 23-Mar-2013 wenzelm <none@none>

no censorship of "view.fracFontMetrics", although it often degrades rendering quality;


# e61c813c 23-Mar-2013 wenzelm <none@none>

apply small result immediately, to avoid visible delay of text update after window move;


# cf2b9111 23-Mar-2013 wenzelm <none@none>

allow fractional pretty margin -- avoid premature rounding;


# 9d81aab6 23-Mar-2013 wenzelm <none@none>

more explicit Pretty.Metric, with clear distinction of unit (space width) vs. average char width (for visual adjustments) -- NB: Pretty formatting works via full space characters (despite a981a5c8a505 and 70f7483df9cb);
separate JEdit_Lib.pretty_metric, with slightly closer imitation of jEdit;


# c14ff302 21-Mar-2013 wenzelm <none@none>

eliminated char_width_int to avoid unclear rounding;
clarified integer conversion for margin;


# f90ea74b 18-Mar-2013 wenzelm <none@none>

extra tooltip_delay after window.dismiss operation, to avoid flickering of quick reactivation;


# 6c1f3318 18-Mar-2013 wenzelm <none@none>

recovered special background handling from 8d6e478934dc, particularly relevant for gutter border;


# 41032afc 17-Mar-2013 wenzelm <none@none>

explicit handling of tooltip window stack -- avoid memory leak due to not-so-weak references to disposed windows (via event handlers and other aux. components);


# 92edc79b 15-Mar-2013 wenzelm <none@none>

more precise tooltip window size (NB: dimensions are known after layout pack, before making content visible);
more precise margin width based on fractional Pretty.char_width (avoid multiplication of rounding errors);
early initialization of gutter to get proper text area painter size (see also 2585c81d840a);


# 343b2f6e 16-Jan-2013 wenzelm <none@none>

close tooltip after Active.action, to make it look more interactive (notably due to lack of dynamic update);


# 71c18c31 12-Jan-2013 wenzelm <none@none>

more uniform Pretty.char_width;


# aca0d178 05-Jan-2013 wenzelm <none@none>

propagate keys to enclosing view like org.gjt.sp.jedit.gui.CompletionPopup, but without its KeyEventInterceptor;


# a8bae0bf 04-Jan-2013 wenzelm <none@none>

more elementary key handling: listen to low-level KEY_PRESSED events (without consuming);


# f2dbe1c1 30-Dec-2012 wenzelm <none@none>

more informative error;


# 31edc0a2 14-Dec-2012 wenzelm <none@none>

fold handling within Pretty_Text_Area, based on formal document content, which is static here;
fold subgoals;


# a693e5dc 14-Dec-2012 wenzelm <none@none>

init gutter according to view properties, which improves symmetry of windows and allows use of folds etc;


# 3bb096ea 13-Dec-2012 wenzelm <none@none>

more formal class Command.Results;


# 48a4815f 13-Dec-2012 wenzelm <none@none>

more careful handling of Dialog_Result, with active area and color feedback;
more formal type Command.Results;
propagate command results to output, which is required to resolve update of dialog state;
clarified Markup.message: retain uninterpreted messages;


# 42dd5332 01-Dec-2012 wenzelm <none@none>

updated to jedit-5.0.0;


# eb50f1bd 26-Nov-2012 wenzelm <none@none>

reset active areas on content update;


# 4e5cfda1 25-Nov-2012 wenzelm <none@none>

renamed main plugin object to PIDE;


# 2ab03b21 25-Nov-2012 wenzelm <none@none>

quasi-abstract module Rendering, with Isabelle-specific implementation;


# acfaa10d 24-Nov-2012 wenzelm <none@none>

prefer buffer_edit combinator over Java-style boilerplate;


# 5565527a 22-Nov-2012 wenzelm <none@none>

always refresh font metrics, to help window size calculation (amending 2585c81d840a);


# 3e1fe159 22-Nov-2012 wenzelm <none@none>

take component width as indication if it is already visible/layed-out, to avoid multiple formatting with minimal margin;


# 90fa083b 21-Nov-2012 wenzelm <none@none>

tuned comment;


# 77bada6c 04-Oct-2012 wenzelm <none@none>

Rich_Text_Area tooltips via nested Pretty_Text_Area, based on some techniques of FoldViewer plugin;


# 2d72a308 21-Sep-2012 wenzelm <none@none>

tighten margin for TextArea instead of Lobo;


# 4731140a 21-Sep-2012 wenzelm <none@none>

some support for hovering and sendback area;


# 90eeb12d 20-Sep-2012 wenzelm <none@none>

tuned painter;


# 7cfbd713 20-Sep-2012 wenzelm <none@none>

no caret painting;


# 18b12d0d 20-Sep-2012 wenzelm <none@none>

text_rendering as managed task, with cancellation;


# 1b290aa3 19-Sep-2012 wenzelm <none@none>

more direct GUI component;


# eec38029 18-Sep-2012 wenzelm <none@none>

minimal clipboard support (similar to org.lobobrowser.html.gui.HtmlBlockPanel);
tuned;


# f7dbeb5b 18-Sep-2012 wenzelm <none@none>

output is read-only;


# 20f6315c 18-Sep-2012 wenzelm <none@none>

token marker for extended syntax styles;


# 14ae1245 18-Sep-2012 wenzelm <none@none>

pass base_snapshot to enable hyperlinks into other nodes;
clarified "def" positions: refrain from renaming properties;
clarified snapshot.is_output vs. output and hyperlinks;


# 603e40fa 18-Sep-2012 wenzelm <none@none>

some actual rich text markup via XML.content_markup;
tuned signature;


# 81c0cb97 18-Sep-2012 wenzelm <none@none>

some support for inital command markup;
tuned signature;


# 295e6b93 18-Sep-2012 wenzelm <none@none>

more static rendering state;


# 9e7db2b1 18-Sep-2012 wenzelm <none@none>

Pretty_Text_Area is based on Rich_Text_Area;


# bbea4496 16-Sep-2012 wenzelm <none@none>

alternative output panel, based on Pretty_Text_Area, based on JEditEmbeddedTextArea;