History log of /seL4-l4v-master/isabelle/src/Tools/jEdit/src/document_view.scala
Revision Date Author Comments
# 94b574f9 31-Jan-2019 wenzelm <none@none>

added option jedit_text_overview for visual appearance (not performance, see also 72216713733a);


# aa9ccd83 31-Jul-2018 wenzelm <none@none>

tuned signature;


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

clarified signature;


# 4a4e793f 13-Jun-2017 wenzelm <none@none>

clarified modules;


# f20da75f 20-Mar-2017 wenzelm <none@none>

eliminated redundant check (see also 27328dcaf64c vs. 9c53198dbb1c);


# 7dec135b 14-Mar-2017 wenzelm <none@none>

clarified singleton module;


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

clarified modules;


# 5fcecffa 12-Jan-2017 wenzelm <none@none>

tuned signature;


# 02111fe7 07-Jan-2017 wenzelm <none@none>

separate Buffer_Model vs. File_Model;
misc tuning and clarification;


# d3bfc6f1 04-Jan-2017 wenzelm <none@none>

misc tuning and clarification;


# 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


# 17963ce2 24-Nov-2016 wenzelm <none@none>

explicit option editor_generated_input_delay, which is more aggressive by default;


# b9176ec5 23-Nov-2016 wenzelm <none@none>

delay_first for machine generated editor events: avoid starvation, e.g. when operating on big sessions;


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

more thorough update;


# c74fa844 14-Apr-2016 wenzelm <none@none>

background color for entity def/ref focus;


# c7134278 14-Apr-2016 wenzelm <none@none>

tuned;


# 6e23444a 07-Jan-2016 wenzelm <none@none>

more thorough GUI update;


# ecd3882a 21-Nov-2015 wenzelm <none@none>

render snapshot.is_outdated in text overview, where other status information is shown already;


# 24f50cd4 19-Sep-2015 wenzelm <none@none>

fast synchronous painting and asynchronous refresh of text overview, reduces GUI thread latency from 100ms to 1ms for big files like src/HOL/Multivariate_Analsyis/Integration.thy;


# 189d5b5f 10-Dec-2014 wenzelm <none@none>

more informative gutter content: fall-back on background color, e.g. when line numbers are enabled;
non-transparent information_message_color like other message colors;
removed unused error1_color;


# e2bb197f 21-Oct-2014 wenzelm <none@none>

support for structure matching;
misc tuning;


# 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


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

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


# 023585e2 28-Apr-2014 wenzelm <none@none>

mane delayed events outside of Swing thread -- triggers no longer require Swing_Thread.later;


# 2ccf1463 24-Apr-2014 wenzelm <none@none>

clarified Session.Consumer, with Session.Outlet managed by dispatcher thread;
eliminated old actors;


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

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


# 39cef393 09-Apr-2014 wenzelm <none@none>

more explicit message discrimination;


# c547a7d9 02-Apr-2014 wenzelm <none@none>

tuned signature -- more explicit iterator terminology;


# f9c7ac94 01-Apr-2014 wenzelm <none@none>

tuned for-comprehensions -- less structure mapping;


# 41c15472 29-Mar-2014 wenzelm <none@none>

tuned signature;


# ac617798 23-Feb-2014 wenzelm <none@none>

tuned signature -- weaker type requirement;


# ffd59da7 20-Feb-2014 wenzelm <none@none>

tuned imports;


# f08475a6 11-Feb-2014 wenzelm <none@none>

maintain multiple command chunks and markup trees: for main chunk and loaded files;
document view for all text areas, including auxiliary files;


# 0d2c8425 20-Nov-2013 wenzelm <none@none>

ranges of thy_load commands count as visible within perspective;
convert ranges wrt. snapshot -- relevant for outdated situation;


# 1ec4de97 17-Nov-2013 wenzelm <none@none>

centralized management of pending buffer edits;


# 4274b57b 14-Nov-2013 wenzelm <none@none>

tuned imports;


# 50858dac 11-Oct-2013 wenzelm <none@none>

clarified Editor.current_command: allow outdated snapshot;
more accurate Document_View.perspective based on current_command for proper state output (see also 88c6e630c15f and ef62204a126b);


# 77612151 21-Sep-2013 wenzelm <none@none>

caret range of active text area counts as visible (e.g. relevant for Output after scrolling outside of text view);


# 22d9a3f2 28-Aug-2013 wenzelm <none@none>

maintain Completion_Popup.Text_Area as client property like Document_View;
global Completion_Popup.Text_Area init/exit like SideKickPlugin;
eliminated old SideKick completion -- cover all Isabelle modes uniformly;
dynamic lookup of Isabelle.mode_syntax -- NB: buffer mode might be undefined in intermediate stages;


# 13dad8aa 29-Aug-2013 wenzelm <none@none>

more abstract Completion_Popup.Text_Area;
more uniform font size;


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

tuned;


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

dismiss popups more uniformly;


# 986fd8dd 28-Aug-2013 wenzelm <none@none>

tuned signature;


# 98a76358 27-Aug-2013 wenzelm <none@none>

some actual completion via outer syntax;
disable old SideKick completion for "isabelle" mode;


# 987fb9e6 27-Aug-2013 wenzelm <none@none>

some key event handling in the manner of SideKickBindings, SideKickCompletionPopup;


# 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;


# 511693dd 12-Aug-2013 wenzelm <none@none>

tuned signature;


# 6e00c057 29-Jul-2013 wenzelm <none@none>

back to model.update_perspective with delay (cf. a20631db9c8a);


# bbdfea74 28-Jul-2013 wenzelm <none@none>

support declarative editor_execution_range, instead of old-style check/cancel buttons;


# 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;


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

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


# 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);


# aafebc3f 08-Jan-2013 wenzelm <none@none>

more direct invalidateScreenLineRange after changed assignment;


# 665fcda1 04-Dec-2012 wenzelm <none@none>

tuned signature in accordance to document operations;


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

updated to jedit-5.0.0;


# 26d1f729 25-Nov-2012 wenzelm <none@none>

tuned signature;


# 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;


# bb302c09 12-Oct-2012 wenzelm <none@none>

further refinement of jEdit line range, avoiding lack of final \n;


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

some support for hovering and sendback area;


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

more robust GUI component handlers;


# 3e2c37dd 17-Sep-2012 wenzelm <none@none>

renamed Text_Area_Painter to Rich_Text_Area;

--HG--
rename : src/Tools/jEdit/src/text_area_painter.scala => src/Tools/jEdit/src/rich_text_area.scala


# 9ce89cb3 17-Sep-2012 wenzelm <none@none>

tuned signature -- more general Text_Area_Painter operations;


# 4a7d3edc 17-Sep-2012 wenzelm <none@none>

tuned signature;


# 390082c8 17-Sep-2012 wenzelm <none@none>

tuned signature;


# c643329b 17-Sep-2012 wenzelm <none@none>

somewhat more general JEdit_Lib;
tuned signatures;


# a2ebface 14-Sep-2012 wenzelm <none@none>

no longer react on global_settings (cf. 34ac36642a31);


# 05c4db3a 14-Sep-2012 wenzelm <none@none>

refined output panel: more value-oriented approach to update and caret focus;


# ed610374 14-Sep-2012 wenzelm <none@none>

clarified markup names;


# 5b32956f 14-Sep-2012 wenzelm <none@none>

more general Document_Model.point_range;
more general Document_View.Active_Area;
eliminated dead popup material;


# eb7b53fb 14-Sep-2012 wenzelm <none@none>

more static handling of rendering options;


# 81d8061a 11-Sep-2012 wenzelm <none@none>

more options;


# 32fc3aba 07-Sep-2012 wenzelm <none@none>

postpone update of text overview panel after incoming session edits, to improve reactivity of editing massive theories like src/HOL/Multivariate_Analysis;


# 679a7c9b 07-Sep-2012 wenzelm <none@none>

more explicit Delay operations;


# 040c489a 24-Aug-2012 wenzelm <none@none>

support for direct hyperlinks, without the Hyperlinks plugin;


# 108b84f3 24-May-2012 wenzelm <none@none>

less warning in scala-2.10.0-M3;


# 6d346b40 07-Apr-2012 wenzelm <none@none>

tuned imports;


# 1ab420bb 19-Mar-2012 wenzelm <none@none>

explicit propagation of assignment event, even if changed command set is empty;
discontinued slightly odd Document_View.update_snapshot/flush_snapshot;


# 294fe9cd 19-Mar-2012 wenzelm <none@none>

further amendment of "updated" edge (cf. 6ed49c52d463) -- required for repainting of unassigned command, e.g. for inactive buffe;


# fb1cd7ff 17-Mar-2012 wenzelm <none@none>

misc tuning to accomodate scala-2.10.0-M2;


# 87720ebd 14-Mar-2012 wenzelm <none@none>

more explicit indication of swing thread context;


# d0d588a2 14-Mar-2012 wenzelm <none@none>

prefer asynchronous context switch from actor to swing thread, to reduce danger of deadlocks;
more robust use of Session.Commands_Changed vs. Document_View.visible_range as asynchronous swing task, taking into account that the model might have switched in the meantime (e.g. via fast clicking on hypersearch while the prover is crunching);


# 7f293684 04-Mar-2012 wenzelm <none@none>

tuned comment;


# 58cbfd9c 04-Mar-2012 wenzelm <none@none>

removed obsolete proper_command_at (cf. 03a2dc9e0624);


# 58501f84 04-Mar-2012 wenzelm <none@none>

clarified special eol treatment and moved to gfx_range -- enables error messages at end of input, e.g. "prop PROP";


# f5b1fc8d 01-Mar-2012 wenzelm <none@none>

explicitly revoke delay, to avoid spurious timer events after deactivation of related components;


# 6950c144 21-Feb-2012 wenzelm <none@none>

more robust visible_range: allow empty view;


# af57d5f4 21-Feb-2012 wenzelm <none@none>

separate module for text status overview;


# e591a986 21-Feb-2012 wenzelm <none@none>

overview.delay_repaint: avoid wasting GUI cycles via update_delay;
prefer delay_first for prover initiated events -- avoid indefinite delay;


# 7f06894f 20-Feb-2012 wenzelm <none@none>

observe HEIGHT of overview ticks;
misc tuning and clarification;


# 8eebd998 20-Feb-2012 wenzelm <none@none>

more careful painting of overview component: more precise and more efficient;


# c2fc9bf9 15-Jan-2012 wenzelm <none@none>

back to more basic caret_range (reverting 0ad063afa3d6) -- BreakIterator crashes due to non-zero text.offset when deleting the first character of the buffer;


# e61fd861 15-Jan-2012 wenzelm <none@none>

more precise rendering of overview_color/gutter_message/squiggly_underline based on cumulation of command status and warning/error messages;


# 4774267e 14-Jan-2012 wenzelm <none@none>

ignore empty gfx_range;
tuned;


# dbc1aed4 10-Jan-2012 wenzelm <none@none>

clarified Isabelle_Rendering vs. physical painting;
discontinued slightly odd object-oriented Markup_Tree.Cumulate/Select;


# ecbea3a9 03-Dec-2011 wenzelm <none@none>

caret_range based on BreakIterator, which handles combined unicode characters as well;


# fda3092b 28-Nov-2011 wenzelm <none@none>

renamed Isabelle_Markup to Isabelle_Rendering to emphasize its meaning and make room for Pure Isabelle_Markup module;

--HG--
rename : src/Tools/jEdit/src/isabelle_markup.scala => src/Tools/jEdit/src/isabelle_rendering.scala


# b65b3781 12-Nov-2011 wenzelm <none@none>

tuned signature;


# 873ea8ba 11-Nov-2011 wenzelm <none@none>

more tooltip content;


# 46c63668 07-Sep-2011 wenzelm <none@none>

clarified terminology;


# 54392d57 07-Sep-2011 wenzelm <none@none>

added "check" button: adhoc change to full buffer perspective;


# 5bc0b7a6 01-Sep-2011 wenzelm <none@none>

more abstract Document.Node.Name;
tuned signature;


# 02f45254 31-Aug-2011 wenzelm <none@none>

tuned Commands_Changed: cover nodes as well;


# 02fbdce6 30-Aug-2011 wenzelm <none@none>

restrict perspective to actual buffer_range, to avoid spurious edits due to faulty last_exec_offset (NB: jEdit screenlines may be silently extended by trailing newline);


# d60a8e29 25-Aug-2011 wenzelm <none@none>

slightly more abstract Text.Perspective;


# 43ee0e33 24-Aug-2011 wenzelm <none@none>

more reliable update_perspective handler based on actual text visibility (e.g. on startup or when resizing without scrolling);


# 4c2c4b69 24-Aug-2011 wenzelm <none@none>

update_perspective without actual edits, bypassing the full state assignment protocol;
edit_nodes/Perspective: do not touch_descendants here;
propagate editor scroll events via update_perspective;
misc tuning;


# 809e6130 22-Aug-2011 wenzelm <none@none>

added official Text.Range.Ordering;
some support for text perspective;


# 35c6fac2 22-Aug-2011 wenzelm <none@none>

tuned signature;


# 24836e10 04-Jul-2011 wenzelm <none@none>

quasi-static Isabelle_System -- reduced tendency towards "functorial style";


# 36258f83 04-Jul-2011 wenzelm <none@none>

imitate exception ERROR of Isabelle/ML;


# 80be4c97 23-Jun-2011 wenzelm <none@none>

explicit import java.lang.System to prevent odd scope problems;


# e127437b 22-Jun-2011 wenzelm <none@none>

init/exit model/view synchronously within the swing thread -- EditBus.send in jedit-4.4.1 always runs there;


# 01caedef 18-Jun-2011 wenzelm <none@none>

more robust caret painting wrt. surrogate characters;
discontinued glyphvector drawing -- less special cases;


# 83e2edbb 17-Jun-2011 wenzelm <none@none>

flush snapshot on falling edge of is_outdated -- recover effect of former buffer.propertiesChanged on text area (cf. f0770743b7ec);


# c8c3406c 16-Jun-2011 wenzelm <none@none>

more precise imitation of original TextAreaPainter: no locking;


# 407247e9 16-Jun-2011 wenzelm <none@none>

static token markup, based on outer syntax only;
eliminated obsolete buffer.propertiesChanged (expensive due to remarking of full buffer etc.);


# 33185578 15-Jun-2011 wenzelm <none@none>

uniform use of Document_View.robust_body;


# 7f38fdec 15-Jun-2011 wenzelm <none@none>

more robust init;


# f6b600e3 15-Jun-2011 wenzelm <none@none>

more precise caret painting, working around existing painter (which is reinstalled by jEdit occasionally);


# 85e31651 15-Jun-2011 wenzelm <none@none>

paint caret according to precise font metrics;


# 5e872cd0 14-Jun-2011 wenzelm <none@none>

builtin sub/superscript styles for jedit-4.3.2;


# e65e9185 14-Jun-2011 wenzelm <none@none>

recovered tooltip Entity content (odd effect of layer change!? cf. 806878ae2219);


# a651ef55 14-Jun-2011 wenzelm <none@none>

separate module for text area painting;

--HG--
rename : src/Tools/jEdit/src/text_painter.scala => src/Tools/jEdit/src/text_area_painter.scala


# c6558db8 13-Jun-2011 wenzelm <none@none>

some direct text foreground painting, instead of token marking;
common snapshot for all text area painters (NOT gutter etc.)
tuned;


# bddce1bd 12-Jun-2011 wenzelm <none@none>

separate isabelle.jedit.Text_Painter, which actually replaces the original TextAreaPainter$PaintText instance;


# 3ccda455 08-Jun-2011 wenzelm <none@none>

moved sources -- eliminated Netbeans artifact of jedit package directory;

--HG--
rename : src/Tools/jEdit/src/jedit/dockable.scala => src/Tools/jEdit/src/dockable.scala
rename : src/Tools/jEdit/src/jedit/document_model.scala => src/Tools/jEdit/src/document_model.scala
rename : src/Tools/jEdit/src/jedit/document_view.scala => src/Tools/jEdit/src/document_view.scala
rename : src/Tools/jEdit/src/jedit/html_panel.scala => src/Tools/jEdit/src/html_panel.scala
rename : src/Tools/jEdit/src/jedit/isabelle_encoding.scala => src/Tools/jEdit/src/isabelle_encoding.scala
rename : src/Tools/jEdit/src/jedit/isabelle_hyperlinks.scala => src/Tools/jEdit/src/isabelle_hyperlinks.scala
rename : src/Tools/jEdit/src/jedit/isabelle_markup.scala => src/Tools/jEdit/src/isabelle_markup.scala
rename : src/Tools/jEdit/src/jedit/isabelle_options.scala => src/Tools/jEdit/src/isabelle_options.scala
rename : src/Tools/jEdit/src/jedit/isabelle_sidekick.scala => src/Tools/jEdit/src/isabelle_sidekick.scala
rename : src/Tools/jEdit/src/jedit/output_dockable.scala => src/Tools/jEdit/src/output_dockable.scala
rename : src/Tools/jEdit/src/jedit/plugin.scala => src/Tools/jEdit/src/plugin.scala
rename : src/Tools/jEdit/src/jedit/protocol_dockable.scala => src/Tools/jEdit/src/protocol_dockable.scala
rename : src/Tools/jEdit/src/jedit/raw_output_dockable.scala => src/Tools/jEdit/src/raw_output_dockable.scala
rename : src/Tools/jEdit/src/jedit/scala_console.scala => src/Tools/jEdit/src/scala_console.scala
rename : src/Tools/jEdit/src/jedit/session_dockable.scala => src/Tools/jEdit/src/session_dockable.scala