+2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * ui/default.ui: change 'hyphenation break' to 'ligature break'.
+
2001-07-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ui/default.ui: change a shortcut
Item "Subscript|u" "command-sequence math-insert _;math-mode;"
Item "HFill|H" "hfill-insert"
Item "Hyphenation Point|P" "hyphenation-point-insert"
- Item "Hyphenation break|k" "hyphenation-break-insert"
+ Item "Ligature break|k" "ligature-break-insert"
Item "Protected Blank|B" "protected-space-insert"
Item "Linebreak|L" "break-line"
Item "Ellipsis|i" "dots-insert"
specialChar(InsetSpecialChar::HYPHENATION);
break;
- case LFUN_HYPHENATION_BREAK:
- specialChar(InsetSpecialChar::HYPHENATION_BREAK);
+ case LFUN_LIGATURE_BREAK:
+ specialChar(InsetSpecialChar::LIGATURE_BREAK);
break;
case LFUN_LDOTS:
+2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * LyXAction.C (init):
+ * commandtags.h:
+ * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
+ LIGATURE_BREAK, since the name is so stupid.
+
2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
* buffer.C (readInset): enable reading of new InsetNotes as well as old
* FontLoader.C: remove FORMS_H_LOCATION cruft.
-2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
-
* sp_form.[Ch]: remove.
-2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
-
* src/LColor.[Ch]: remove noteframe. Change note to "yellow".
* src/BufferView_pimpl.C (insertNote): use InsetNote in place of
{ LFUN_HTMLURL, "html-insert", "", Noop },
{ LFUN_HYPHENATION, "hyphenation-point-insert",
N_("Insert hyphenation point"), Noop },
- { LFUN_HYPHENATION_BREAK, "hyphenation-break-insert",
- N_("Insert hyphenation break"), Noop },
+ { LFUN_LIGATURE_BREAK, "ligature-break-insert",
+ N_("Insert ligature break"), Noop },
{ LFUN_INDEX_CREATE, "index-insert",
N_("Insert index item"), Noop },
{ LFUN_INDEX_INSERT_LAST, "index-insert-last",
LFUN_GOTONOTE,
LFUN_INSET_TOGGLE,
LFUN_HYPHENATION,
- LFUN_HYPHENATION_BREAK,
+ LFUN_LIGATURE_BREAK,
LFUN_HFILL,
LFUN_DEPTH,
LFUN_FREE, // 30
+2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
+ LIGATURE_BREAK, since the name is so stupid.
+
2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
* insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
(write) output the name of the inset, not some silly hack for
compatability with the old InsetInfo.
-2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
-
* insetinfo.[Ch]: removed.
* insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
now collapsable, but functionality is otherwise identical to InsetInfo.
w -= 2; // to make it look shorter
return w;
}
- case HYPHENATION_BREAK:
+ case LIGATURE_BREAK:
{
return lyxfont::width('|', font);
}
x += width(bv, font);
break;
}
- case HYPHENATION_BREAK:
+ case LIGATURE_BREAK:
{
font.setColor(LColor::special);
pain.text(int(x), baseline, "|", font);
case HYPHENATION:
command = "\\-";
break;
- case HYPHENATION_BREAK:
+ case LIGATURE_BREAK:
command = "\\textcompwordmark{}";
break;
case END_OF_SENTENCE:
if (command == "\\-")
kind = HYPHENATION;
else if (command == "\\textcompwordmark{}")
- kind = HYPHENATION_BREAK;
+ kind = LIGATURE_BREAK;
else if (command == "\\@.")
kind = END_OF_SENTENCE;
else if (command == "\\ldots{}")
case HYPHENATION:
os << "\\-";
break;
- case HYPHENATION_BREAK:
+ case LIGATURE_BREAK:
os << "\\textcompwordmark{}";
break;
case END_OF_SENTENCE:
{
switch (kind) {
case HYPHENATION:
- case HYPHENATION_BREAK:
+ case LIGATURE_BREAK:
break;
case END_OF_SENTENCE:
os << ".";
enum Kind {
/// Optional hyphenation point (\-)
HYPHENATION,
- /// Hyphenation break point (\textcompwordmark)
- HYPHENATION_BREAK,
+ /// Ligature break point (\textcompwordmark)
+ LIGATURE_BREAK,
/// ... (\ldots)
LDOTS,
/// End of sentence punctuation (\@)