Pavel Roskin
8bc40b44f0
Fix includes not to rely on $(top_srcdir) being in the include path.
2003-10-29 08:54:22 +00:00
Pavel Roskin
e0f9b7ab83
* editcmd.c (edit_raw_key_query): Use straight widget order.
...
(edit_completion_dialog): Likewise.
* editwidget.c (edit): Likewise.
2003-09-12 21:30:29 +00:00
Pavel Roskin
e14f56d71b
* dlg.h: Replace DLG_BACKWARD to DLG_REVERSE with a better
...
defined meaning. Make it default to populate dialogs from the
top. Change all calls to create_dlg().
2003-09-12 21:22:01 +00:00
Pavel Roskin
e355e25b56
* dlg.h: Use cb_ret_t and widget_msg_t in widget callbacks.
...
Massive adjustment for the above.
2003-09-10 22:48:54 +00:00
Pavel Roskin
24737eb1c1
* dlg.h: Remove restroy callback. Widgets should use
...
WIDGET_DESTROY. Adjust all dependencies.
2003-09-10 18:21:40 +00:00
Pavel Roskin
13a02ef978
* dlg.h: Use new types for dialog callbacks.
...
(dlg_cb_fn): Swap msg and parm arguments for consistency with
widget callbacks. Adjust all dependencies.
2003-09-07 21:24:01 +00:00
Pavel Roskin
38265d418d
* edit.h: Get rid of WIDGET_COMMAND, update all dependencies.
2003-09-07 19:08:07 +00:00
Pavel Roskin
1e0850ab07
* dlg.c (find_widget_type): Take pointer to void to avoid casts
...
everywhere. Adjust all callers.
2003-09-07 07:16:12 +00:00
Pavel Roskin
10f65ac83d
* dlg.h (struct Widget): Remove tkname field.
...
(init_widget): Remove tkname argument.
* widget.h (listbox_new): Likewise.
Adjust all dependencies.
2003-08-31 23:29:49 +00:00
Pavel Roskin
dadbdd25e9
* editcmd.c (edit_quit_cmd): Rename to ...
...
(edit_ok_to_exit): ... this. Don't stop dialog - this function
is called by the dialog code.
* editwidget.c (edit_dialog_callback): Process DLG_VALIDATE
event. Don't exit it the user wants to continue editing.
* edit.c (edit_execute_cmd): Close the dialog - it will ask user
if necessary.
2003-07-21 03:54:47 +00:00
Pavel Roskin
0633d91f60
* editwidget.c (edit): Remove unused variable "framed".
2003-07-20 22:15:28 +00:00
Pavel Roskin
729a855b29
* edit-widget.h: Stop misusing "unsigned char" for boolean.
...
Eliminate have_frame - it's unused. Adjust all dependencies.
2003-07-08 23:46:01 +00:00
Pavel Roskin
812bac9a33
* editkeys.c: Move key maps to the file scope. Put common keys
...
to a separate table common_key_map.
(edit_translate_key): Remove unused argument x_keycode.
2002-12-25 22:53:07 +00:00
Pavel Roskin
361ec45373
Fix includes.
2002-12-23 10:12:40 +00:00
Pavel Roskin
d6947e39cf
* edit.c (edit_translate_key): Remove x_state argument, it's now
...
a part of x_keycode.
* editwidget.c (get_key_state): Remove.
2002-12-21 08:46:50 +00:00
Pavel Roskin
8148b4973c
* edit.c (edit_reload): Don't initialize edit->macro_i, because
...
edit_init() takes care of it.
* editwidget.c (edit): Likewise.
2002-12-16 01:27:44 +00:00
Pavel Roskin
aaf569bd48
* edit.h: Don't inclide malloc.h. Use g_malloc() and g_free()
...
instead. Adjust all dependencies.
2002-12-15 18:55:53 +00:00
Pavel Roskin
581cf41929
* edit.c (edit_open_file): Remove "text" and "text_size"
...
arguments. Adjust all callers.
2002-12-08 09:10:38 +00:00
Pavel Roskin
c935eaa6c2
* edit.c: Commit the rest of the position saving code.
...
(edit_load_position): New function, load position.
(edit_save_position): New function, save position.
(edit_init): Take new argument "line". If it's 0, load position
from .mc/filepos.
(edit_clean): Save file position to .mc/filepos even if the file
is not being saved.
* editwidget.c (edit): Don't set the initial line, pass it to
edit_init().
2002-12-08 07:47:59 +00:00
Pavel Roskin
dd7f5798fa
* edit.h: Remove "dir" field in WEdit - it's always an empty
...
string. Adjust all dependencies.
2002-11-30 19:50:51 +00:00
Pavel Roskin
18de4488e3
* edit-widget.h: Move typedef WEdit and file names ...
...
* edit.h: ... here. Don't include edit-widget.h. Adjust all
dependencies.
2002-11-29 03:01:06 +00:00
Pavel Roskin
7969f851bb
* edit.h: Decentralize includes.
2002-11-14 19:38:26 +00:00
Pavel Roskin
e741be7a5d
* *.c: Fix all global functions without declarations - declare,
...
make static or remove.
2002-11-13 04:32:00 +00:00
Pavel Roskin
66f451aac7
* dlg.c (send_message_to): Remove, use send_message() instead.
...
(send_message): Make inline, remove Dlg_head argument. Change
all callers.
2002-11-13 02:56:40 +00:00
Pavel Roskin
bc70c8cc1e
* dlg.h: Remove Dlg_head argument from callback_fn - it's
...
excessive and can be trivially derived from the widget.
(default_proc): Remove Dlg_head argument. Change all callers.
2002-11-13 02:27:35 +00:00
Pavel Roskin
0106eebda6
* editwidget.c (edit_adjust_size): Use find_buttonbar().
2002-11-12 23:35:25 +00:00
Pavel Roskin
b0481b41bf
* menu.h: Remove "*" from the definition of the type "Menu"
...
for consistency with other types. Change all dependencies.
(menubar_event): Make static.
2002-11-12 21:01:50 +00:00
Pavel Roskin
e7e6552a03
* editwidget.c (edit): Make edit_dlg local variable.
2002-09-24 15:10:47 +00:00
Pavel Roskin
996a847666
* editwidget.c (edit): Install handler for DLG_RESIZE.
2002-09-24 03:57:36 +00:00
Pavel Roskin
2571416650
* editwidget.c (edit): Set edit_dlg to NULL after it's
...
destroyed.
2002-09-23 23:42:44 +00:00
Pavel Roskin
fb418291eb
* editwidget.c (edit_event): Add support for mouse wheel events.
...
* edit.h: Add missing declarations for edit_move_up() and
edit_move_down().
2002-09-21 00:16:04 +00:00
Pavel Roskin
31e34e93b8
* editcmd.c: Recheck and fix all calls to create_dlg().
...
* editwidget.c: Likewise.
2002-09-03 19:37:40 +00:00
Pavel Roskin
d02a8d6473
* editwidget.c (edit): Avoid passing an uninitialized color
...
array to create_dlg() - pass NULL instead.
2002-08-31 04:33:40 +00:00
Pavel Roskin
6071fea76d
* editwidget.c: Use new dialog flags.
...
* editcmd.c: Likewise.
(edit_completion_dialog): Set DLG_COMPACT for the dialog.
2002-08-22 15:38:27 +00:00
Pavel Roskin
231f67342e
* editwidget.c (edit): Make edit_bar a local variable.
2002-08-21 22:54:27 +00:00
Pavel Roskin
3a93326ce7
* editoptions.c: Make some variables static.
...
* edit.h: Take extern declaratrions from all C files.
2002-08-19 01:23:24 +00:00
Pavel Roskin
b1c57095b2
* edit.c: Stop using _EDIT_C definition. Move variable
...
declarations from edit.h, make static or eliminate if possible.
Report errors immediately.
* edit.h: Likewise.
* editwidget.c (edit): Don't report errors from edit_init(),
they are reported in place.
2001-10-23 01:46:53 +00:00
Pavel Roskin
afee09a276
* edit.c: Eliminate all code disabled for the text edition.
...
* editcmddef.h: Likewise.
* editmenu.c: Likewise.
* editwidget.c: Likewise.
* syntax.c: Likewise.
* wordproc.c: Likewise.
2001-09-07 20:10:45 +00:00
Pavel Roskin
b44a4e19c6
Copy all necessary files from gtkedit.
...
* Makefile.in (EDITLINKS): Merge with EDITSRC, remove all
references.
2001-08-24 18:23:17 +00:00
Paul Sheer
2d93c2e0ff
removeing these files. Makefile will create symlinks
1998-09-15 21:20:29 +00:00
Paul Sheer
f36e99f150
*** empty log message ***
1998-09-14 21:26:41 +00:00
Paul Sheer
c57d9e424e
*** empty log message ***
1998-09-14 21:20:01 +00:00
Paul Sheer
df04c09b47
* edit.c, editwidget.c, * syntax.c: Syntax
...
editdraw.c, editmenu, editcmd.c: highlighting for Pascal
Added column text highlighting added.
and block movements.
1998-07-14 23:39:15 +00:00
Miguel de Icaza
e82bcc2bfc
Various changes:
...
- Fix for the gmc crashes when no window is open and you
start a program.
- Bad attempts at fixing the sigwinch propagation.
- Internationalization fixes from Alex (ru.po and
bunch of updates to the text mode edition to deal
wiht this).
Miguel.
1998-05-06 20:04:08 +00:00
Paul Sheer
38a912e1e2
editor updated to reflect cooledit-3.6.0
...
syntax highlighting added and doc files updated
1998-04-24 15:18:08 +00:00
Miguel de Icaza
60c595aa91
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
...
* menu.c (destroy_menu): Implement destroy_menu for all of the
ports as a routine that frees the menu entries if
internationalization has been enabled.
* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.
Sun Mar 29 23:02:09 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/menu.[ch]: new member to menu_entry (hot_pos) introduced to make
internationalized version of menu use externally defined hotkeys
(denoted with preceding &). create_menu() fixed to load intl text of
the entries. Some fixes around menu.c to enable usage of reloaded
hotkeys.
* main.c, editmenu.c: menu initialization code fixed to conform new
menu structure. editmenu init code includes N_(..) now.
* menu.c, layout.c, editwidget.c: bar menu items displacement is made
dynamically upon initialization and window size changes. Mouse event
processing is fixed accordingly.
Sat Mar 28 13:18:36 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/screen.c: (repaint_file) last patches to format_file() in the
same file broke appearance of panels in brief mode -- fixed.
1998-03-30 20:59:37 +00:00
Pavel Machek
303cd55bce
Minor changes for IBM CSet.
...
#include <direct.h> is not needed anymore
We need #include <io.h> somewhere
1998-03-29 22:23:24 +00:00
Miguel de Icaza
eb6b3842ab
Initial revision
1998-02-27 04:54:42 +00:00