+2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * bind/xemacs.bind:
+ * bind/emacs.bind: move keypad bindings later so that the binding
+ for "copy" shown in menus is not C-KP_Insert
+
2003-01-07 José Abílio Oliveira Matos <jamatos@lyx.org>
* lyx2lyx/lyx2lyx.py: trims whitespace from header if not in preamble.
2003-01-06 Angus Leeming <leeming@lyx.org>
- * scripts/lyxpreview2bitmap.sh: don't use 'which' to find an executable.
- Use 'type'.
+ * scripts/lyxpreview2bitmap.sh: don't use 'which' to find an
+ executable. Use 'type'.
2003-01-05 John Levon <levon@movementarian.org>
\bind "S-C-Home" "buffer-begin-select"
\bind "S-C-End" "buffer-end-select"
+#
+# Edit group
+#
+
+\bind "C-Delete" "word-delete-forward"
+\bind "M-d" "word-delete-forward"
+\bind "C-BackSpace" "word-delete-backward"
+\bind "M-Return" "break-paragraph-keep-layout"
+\bind "C-Return" "break-line"
+\bind "C-S-L" "ligature-break-insert"
+\bind "C-space" "protected-space-insert"
+\bind "C-period" "end-of-sentence-period-insert"
+\bind "M-period" "dots-insert"
+\bind "M-w" "copy"
+\bind "M-S-W" "layout-copy"
+\bind "Escape" "meta-prefix"
+
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
\bind "S-KP_Right" "forward-select"
\bind "S-KP_Left" "backward-select"
\bind "S-KP_Delete" "cut"
-#
-# Edit group
-#
-
-\bind "C-Delete" "word-delete-forward"
-\bind "M-d" "word-delete-forward"
-\bind "C-BackSpace" "word-delete-backward"
-\bind "M-Return" "break-paragraph-keep-layout"
-\bind "C-Return" "break-line"
-\bind "C-S-L" "ligature-break-insert"
-\bind "C-space" "protected-space-insert"
-\bind "C-period" "end-of-sentence-period-insert"
-\bind "M-period" "dots-insert"
-\bind "M-w" "copy"
-\bind "M-S-W" "layout-copy"
-\bind "Escape" "meta-prefix"
-
-
-
# Include menu and math bindings
\bind_file menus.bind
\bind "S-C-Home" "buffer-begin-select"
\bind "S-C-End" "buffer-end-select"
+#
+# Edit group
+#
+
+\bind "M-Delete" "word-delete-backward"
+\bind "C-Delete" "word-delete-forward"
+\bind "M-d" "word-delete-forward"
+\bind "C-BackSpace" "word-delete-backward"
+\bind "M-Return" "break-paragraph-keep-layout"
+\bind "C-Return" "break-line"
+\bind "C-S-L" "ligature-break-insert"
+\bind "C-space" "protected-space-insert"
+\bind "C-period" "end-of-sentence-period-insert"
+\bind "M-period" "dots-insert"
+\bind "M-w" "copy"
+\bind "M-S-W" "layout-copy"
+\bind "Escape" "meta-prefix"
+
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
\bind "S-KP_Right" "forward-select"
\bind "S-KP_Left" "backward-select"
\bind "S-KP_Delete" "cut"
-#
-# Edit group
-#
-
-\bind "M-Delete" "word-delete-backward"
-\bind "C-Delete" "word-delete-forward"
-\bind "M-d" "word-delete-forward"
-\bind "C-BackSpace" "word-delete-backward"
-\bind "M-Return" "break-paragraph-keep-layout"
-\bind "C-Return" "break-line"
-\bind "C-S-L" "ligature-break-insert"
-\bind "C-space" "protected-space-insert"
-\bind "C-period" "end-of-sentence-period-insert"
-\bind "M-period" "dots-insert"
-\bind "M-w" "copy"
-\bind "M-S-W" "layout-copy"
-\bind "Escape" "meta-prefix"
-
## Trying to incorporate the best of AucTeX and HM--HTML modes
##
# "C-z" is used in HM--HTML-mode for paragraph styles so try to support
+2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * paragraph_pimpl.C (simpleTeXBlanks):
+ (simpleTeXSpecialChars):
+ * paragraph.C (simpleTeXOnePar): make `column' unsigned.
+
+ * tabular.C (latex): add some missing case statements. Reindent.
+
+ * MenuBackend.C (expandToc): remove unused variable.
+
2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
* LColor.C:
return;
}
- FloatList const & floats = buf->params.getLyXTextClass().floats();
toc::TocList toc_list = toc::getTocList(buf);
toc::TocList::const_iterator cit = toc_list.begin();
toc::TocList::const_iterator end = toc_list.end();
+2002-01-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * FormTabular.C: typo.
+
2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
* FormGraphics.C:
pwidth = tabular->GetMColumnPWidth(cell);
align = tabular->GetAlignment(cell);
// set the horiz. alignment, default is left here
- fl_set_button(column_options_->radio_align_left, 0);
- fl_set_button(column_options_->radio_align_right, 0);
- fl_set_button(column_options_->radio_align_center, 0);
+ fl_set_button(cell_options_->radio_align_left, 0);
+ fl_set_button(cell_options_->radio_align_right, 0);
+ fl_set_button(cell_options_->radio_align_center, 0);
if (align == LYX_ALIGN_RIGHT)
fl_set_button(cell_options_->radio_align_right, 1);
else if (align == LYX_ALIGN_CENTER)
else
main_body = beginningOfMainBody();
- int column = 0;
+ unsigned int column = 0;
if (main_body > 0) {
os << '[';
void Paragraph::Pimpl::simpleTeXBlanks(ostream & os, TexRow & texrow,
pos_type const i,
- int & column, LyXFont const & font,
+ unsigned int & column,
+ LyXFont const & font,
LyXLayout const & style)
{
if (style.pass_thru) return;
bool & open_font,
LyXLayout const & style,
pos_type & i,
- int & column,
+ unsigned int & column,
value_type const c)
{
if (style.pass_thru) {
///
void simpleTeXBlanks(std::ostream &, TexRow & texrow,
lyx::pos_type const i,
- int & column, LyXFont const & font,
+ unsigned int & column,
+ LyXFont const & font,
LyXLayout const & style);
///
void simpleTeXSpecialChars(Buffer const *, BufferParams const &,
LyXFont & basefont, bool & open_font,
LyXLayout const & style,
lyx::pos_type & i,
- int & column, value_type const c);
+ unsigned int & column, value_type const c);
///
void validate(LaTeXFeatures & features,
if (column_info[i].left_line)
os << '|';
if (!column_info[i].p_width.zero()) {
- switch (column_info[i].alignment) {
- case LYX_ALIGN_LEFT:
- os << ">{\\raggedright}";
- break;
- case LYX_ALIGN_RIGHT:
- os << ">{\\raggedleft}";
- break;
- case LYX_ALIGN_CENTER:
- os << ">{\\centering}";
- break;
- }
+ switch (column_info[i].alignment) {
+ case LYX_ALIGN_LEFT:
+ os << ">{\\raggedright}";
+ break;
+ case LYX_ALIGN_RIGHT:
+ os << ">{\\raggedleft}";
+ break;
+ case LYX_ALIGN_CENTER:
+ os << ">{\\centering}";
+ break;
+ case LYX_ALIGN_NONE:
+ case LYX_ALIGN_BLOCK:
+ case LYX_ALIGN_LAYOUT:
+ case LYX_ALIGN_SPECIAL:
+ break;
+ }
switch (column_info[i].valignment) {
case LYX_VALIGN_TOP: