]> git.lyx.org Git - features.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 09:22:13 +0000 (11:22 +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).

(cherry picked from commit 648ddd25eca045f34569405aca15c5d638bbb723)

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 52819f4ffb67a599aea57baf4b45362cbaec3dae..e141f34c7ec3784864a547f0014b7e0384b45463 100644 (file)
@@ -787,7 +787,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 92e898735065ac2f8146fbb7b14fd8a3f43fac80..588e9d0665133e4d0ccd1143915686e6099b1963 100644 (file)
@@ -257,7 +257,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())