Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Thu, 19 Oct 2023 15:16:28 UTC Commit: 80fec378d9f5d6967f084c99f09ac2907fd92374 https://github.com/geany/geany/commit/80fec378d9f5d6967f084c99f09ac2907fd923...
Log Message: ----------- Add documentation for new Scintilla feature "Change history"
Modified Paths: -------------- doc/Makefile.am doc/geany.txt doc/images/edit_change_history.png doc/meson.build
Modified: doc/Makefile.am 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -4,6 +4,7 @@ if INSTALL_HTML_DOCS htmldocimagesdir = $(docdir)/html/images dist_htmldocimages_DATA = \ images/build_menu_commands_dialog.png \ + images/edit_change_history.png \ images/find_dialog.png \ images/find_in_files_dialog.png \ images/main_window.png \
Modified: doc/geany.txt 32 lines changed, 32 insertions(+), 0 deletions(-) =================================================================== @@ -2419,6 +2419,38 @@ Always Always show virtual spaces beyond the end of lines
+Change History +`````````````` + +The *change history* feature enables changed text in a document to be shown in the markers margin or by underlining the text. +By default, the *change history* feature is disabled. + +Newly added, modified and removed lines or words are highlighted to easily track changes to the opened +document. The changes can be shown as vertical bars in the markers margin and/or as underlines in +the text directly. + +.. note:: + This feature may use a moderate amount of memory, especially if there are many or big changes in the document. + Also, modification information is not kept when re-opening a document - all change markers will be lost. + + +.. image:: ./images/edit_change_history.png + +The image shows the default visuals: + +* inserted characters appear with coloured underlines +* points where characters were deleted are shown with small triangles +* the margin shows a block indicating the overall state of the line, prioritizing the more consequential modified states +* the states are modified (orange), saved (green), saved then reverted to modified (green-yellow), and + saved then reverted to original (cyan). + +Show in markers margin + Changes are shown in the markers margin as vertical bars + +Show as underline indicators + Changes are shown as underlines in the text directly + + Files preferences ^^^^^^^^^^^^^^^^^
Modified: doc/images/edit_change_history.png 0 lines changed, 0 insertions(+), 0 deletions(-) =================================================================== No diff available, check online
Modified: doc/meson.build 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -19,6 +19,7 @@ tarball = run_command('test', '-f', 'geany.html', check: false) if tarball.returncode() == 0 or rst2html.found() install_data( 'images/build_menu_commands_dialog.png', + 'images/edit_change_history.png', 'images/find_dialog.png', 'images/find_in_files_dialog.png', 'images/main_window.png',
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).