]> git.lyx.org Git - lyx.git/commitdiff
Collapsable -> Collapsible (part 1)
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Oct 2017 08:03:05 +0000 (10:03 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Oct 2017 08:03:05 +0000 (10:03 +0200)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part only covers the usage in comments and the like. More to follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

NEWS
development/FORMAT
lib/lyx2lyx/lyx_1_4.py
lib/lyx2lyx/lyx_1_6.py
src/BufferView.cpp
src/BufferView.h
src/insets/InsetERT.h
src/insets/InsetListings.h
src/insets/InsetText.cpp

diff --git a/NEWS b/NEWS
index 236e60264e19bde13be525660a2d40bc2df2af98..49be4c4e385cc95ad3e63cc8f8fc9d3efddc7ac7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -469,7 +469,7 @@ http://wiki.lyx.org/LyX/NewInLyX16
 
 * Multiple Work Areas
 * Split Views
-* User-formattable Collapsable Insets
+* User-formattable Collapsible Insets
 * Layout Modules
 * Layout combobox changes
 * Support for the LaTeX package hyperref
index 7477ae9bfb6ef270b9cdfa57d0da663df25534b5..5e0c5bf0cc9d4f4ba518b5228b299204aa9bf720 100644 (file)
@@ -1350,7 +1350,7 @@ changes happened in particular if possible. A good example would be
        * Format incremented to 290: Add table wrap floats
 
 2007-10-03 Martin Vermeer <martin.vermeer@tkk.fi>
-       * Format incremented to 289: make Index a collapsable inset.
+       * Format incremented to 289: make Index a collapsible inset.
 
 2007-09-25 Richard Heck <rgheck@lyx.org>
        * Format incremented to 288: Change how command insets are
@@ -1393,7 +1393,7 @@ changes happened in particular if possible. A good example would be
 2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
 
        * format incremented to 280: the show_label parameter
-         is depreciated in favour of (Collapsable) status.
+         is depreciated in favour of (Collapsible) status.
 
 2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
 
index f88c9a8deef85e96da9056051e3c9214b8fc4f80..9c7c7a594e5e29b2a4cc4cbcb390f7ac98e55bf1 100644 (file)
@@ -889,7 +889,7 @@ def revert_box(document):
         i = i + 1
 
 
-def convert_collapsable(document):
+def convert_collapsible(document):
     " Convert collapsed insets. "
     i = 0
     while True:
@@ -924,7 +924,7 @@ def convert_collapsable(document):
         i = i + 1
 
 
-def revert_collapsable(document):
+def revert_collapsible(document):
     " Revert collapsed insets. "
     i = 0
     while True:
@@ -2474,7 +2474,7 @@ convert = [[222, [insert_tracking_changes, add_end_header, convert_amsmath]],
                   convert_table_valignment_middle, convert_breaks]],
            [226, [convert_note]],
            [227, [convert_box]],
-           [228, [convert_collapsable, convert_ert]],
+           [228, [convert_collapsible, convert_ert]],
            [229, [convert_minipage]],
            [230, [convert_jurabib]],
            [231, [convert_float]],
@@ -2512,7 +2512,7 @@ revert =  [[244, []],
            [230, [revert_float]],
            [229, [revert_jurabib]],
            [228, []],
-           [227, [revert_collapsable, revert_ert]],
+           [227, [revert_collapsible, revert_ert]],
            [226, [revert_box, revert_external_2]],
            [225, [revert_note]],
            [224, [rm_end_layout, begin_layout2layout, revert_end_document,
index 636d4b27f7e14311c85285695deadbafeb5a847b..071280836b670f61213117e800e25e9764eedaaa 100644 (file)
@@ -1113,7 +1113,7 @@ def revert_wrapfig_options(document):
 
 
 def convert_latexcommand_index(document):
-    "Convert from LatexCommand form to collapsable form."
+    "Convert from LatexCommand form to collapsible form."
     i = 0
     r1 = re.compile('name "(.*)"')
     while True:
@@ -1145,7 +1145,7 @@ def convert_latexcommand_index(document):
 
 
 def revert_latexcommand_index(document):
-    "Revert from collapsable form to LatexCommand form."
+    "Revert from collapsible form to LatexCommand form."
     i = 0
     while True:
         i = find_token(document.body, "\\begin_inset Index", i)
index 6b0b5e74b4e0db599453696268a9426e6bd77e78..53d374f07f3768739454278166f1b6b47487c8db 100644 (file)
@@ -794,7 +794,7 @@ bool BufferView::moveToPosition(pit_type bottom_pit, pos_type bottom_pos,
                if (!dit.atEnd()) {
                        dit.pos() = min(dit.paragraph().size(), top_pos);
                        // Some slices of the iterator may not be
-                       // reachable (e.g. closed collapsable inset)
+                       // reachable (e.g. closed collapsible inset)
                        // so the dociterator may need to be
                        // shortened. Otherwise, setCursor may crash
                        // lyx when the cursor can not be set to these
index 7de6985d44001d7e3c94d902671c975188398cbe..a5222599f2cf983f7dc514c53d39ffee8e6e6a48 100644 (file)
@@ -260,7 +260,7 @@ public:
        /// access to full cursor.
        Cursor const & cursor() const;
        /// sets cursor.
-       /// This will also open all relevant collapsable insets.
+       /// This will also open all relevant collapsible insets.
        void setCursor(DocIterator const &);
        /// set the selection up to dit.
        void setCursorSelectionTo(DocIterator const & dit);
index f92304aa397625f8c7db100ff862e28ee50a0f5a..eb6ab9178d01a5af3daa852a531918a379daebb2 100644 (file)
@@ -18,7 +18,7 @@
 
 namespace lyx {
 
-/** A collapsable text inset for LaTeX insertions.
+/** A collapsible text inset for LaTeX insertions.
 
   To write full ert (including styles and other insets) in a given
   space.
index aa46765c59c55ea730ac37858062f077289f6f71..6c90de0a38a20dbaa24a16978295101616b68efa 100644 (file)
@@ -26,7 +26,7 @@ struct TexString;
 //
 /////////////////////////////////////////////////////////////////////////
 
-/// A captionable and collapsable text inset for program listings.
+/// A captionable and collapsible text inset for program listings.
 class InsetListings : public InsetCaptionable
 {
 public:
index 8228fd247d48dd44a7edcfd250c48a472b4b638f..28484a4d76114704eb6725d6d5eeaeef35669774 100644 (file)
@@ -448,7 +448,7 @@ void InsetText::latex(otexstream & os, OutputParams const & runparams) const
 {
        // This implements the standard way of handling the LaTeX
        // output of a text inset, either a command or an
-       // environment. Standard collapsable insets should not
+       // environment. Standard collapsible insets should not
        // redefine this, non-standard ones may call this.
        InsetLayout const & il = getLayout();
        if (il.forceOwnlines())