+1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * configure.in (Check for programs): Added a check for kpsewhich,
+ the latex generation will use this later to better the dicovery of
+ all used files.
+
+ * src/BufferView.C (create_view): we don't need to cast this to
+ (void*) that is done automatically.
+ (WorkAreaButtonPress): removed some dead code.
+
1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_RANLIB
+AC_CHECK_PROG(KPSEWHICH, kpsewhich, kpsewhich, :)
+if test "x$KPSEWHICH" = xkpsewhich ; then
+ AC_DEFINE(HAVE_KPSEWHICH, 1,
+ [Define this if you have the kpsewhich program working on your system.])
+fi
### we will also need a C compiler to compile GNU gettext
AC_PROG_CC
height-2*bw,"",
work_area_handler);
obj->wantkey = FL_KEY_TAB;
- obj->u_vdata = (void*) this; /* This is how we pass the BufferView
+ obj->u_vdata = this; /* This is how we pass the BufferView
to the work_area_handler. */
fl_set_object_boxtype(obj,FL_DOWN_BOX);
fl_set_object_resize(obj, FL_RESIZE_ALL);
timer_cursor = obj = fl_add_timer(FL_HIDDEN_TIMER,
0,0,0,0,"Timer");
fl_set_object_callback(obj,CursorToggleCB,0);
- obj->u_vdata = (void*) this;
+ obj->u_vdata = this;
}
// Hit above or below the table?
if (doit) {
-#if 0
- long y_tmp = y + screen->first;
-
- Row* row = _buffer->text->GetRowNearY(y_tmp);
-
- // Isn't this empty code anyway? (Lgb)
- if (row->par != _buffer->text->cursor.par)
- doit = true;
- }
-
- if (doit) {
-#endif
if (!_buffer->text->selection) {
screen->ToggleSelection();
_buffer->text->ClearSelection();
// Right click on a footnote flag opens float menu
if (button == 3) {
-#if 0
- // Isn't this empty code anyway? (Lgb)
- if (_buffer->text->cursor.par->footnoteflag ==
- LyXParagraph::OPEN_FOOTNOTE) {
- selection_possible = false;
- lyxerr.debug("LyX: Sorry not implemented yet.");
- return 0;
- }
- }
-
- if (button == 3) {
-#endif
selection_possible = false;
return 0;
}
currentBuffer()->text->SetCursorFromCoordinates(x, y);
currentBuffer()->update(0);
}
-