Commit Graph

22 Commits

Author SHA1 Message Date
Pavel Roskin da7e82d253 Global removal of RCS Id: flags. 2002-09-26 23:13:45 +00:00
Pavel Roskin 50c15654ef * edit.h: Move style definitions ...
* editdraw.c: ... here.  Multiply them by 256.  Remove unused
styles.
(print_to_widget): Don't divide style by 256.  Simplify logic
since we only have 4 styles now.
2002-09-23 23:05:15 +00:00
Pavel Roskin 6d1beed458 * edit.c (edit_move_forward3): Use caret notation for code 127
and below code 32.
* editdraw.c (edit_draw_this_line): Likewise.  Print '.' for
other non-printable characters and remove this code from ...
(print_to_widget): ... here.
2002-09-23 22:32:47 +00:00
Pavel Roskin 07de958369 * edit.c (edit_move_forward3): Show 'r' as ^M.
* editdraw.c (edit_draw_this_line): Likewise.  Use MOD_ABNORMAL
attribute.
From Alexander Varakin <avarakin00@hotmail.com>
2002-09-23 07:13:11 +00:00
Andrew V. Samoilov 9f80054302 * editdraw.c (status_string): Remove font_width argument.
(edit_status): Fix calculation to use last column in the status string.
2002-09-20 15:15:43 +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 75666df0fe * edit.h [!HAVE_SLANG]: Enable syntax highlighting.
* editdraw.c [!HAVE_SLANG]: Respect attributes for color pairs
by using MY_COLOR_PAIR macro.
2002-07-14 21:43:53 +00:00
Pavel Roskin a23618b2ef * edit.h (struct key_word): Remove unused "bg" field, rename
"fg" to	"color", since it keeps all color information.
* syntax.c (edit_get_syntax_color): Replace "fg" and "bg"
arguments with a single argument "color".
Adjust all dependencies.
2002-07-14 17:56:47 +00:00
Pavel Roskin bb989f677a * editdraw.c (edit_draw_this_line): Fix setting MOD_ABNORMAL
attribute.
(print_to_widget): Fix displaying non-printable characters with
ncurses.  Set color for every character even if syntax
highlighting is not compiled - it's needed to reset color after
non-printable characters.
2002-07-14 07:49:24 +00:00
Pavel Roskin 4655fbbb6b * editdraw.c (edit_status): Use EDITOR_NORMAL_COLOR instead of
NORMAL_COLOR.
* syntax.c (edit_get_syntax_color) [!HAVE_SYNTAXH]: Likewise.
2002-07-14 06:17:02 +00:00
Pavel Roskin 817602f8af * editdraw.c (edit_scroll_screen_over_cursor): Do nothing if the
edit widget has zero width or height.
2002-01-23 00:12:17 +00:00
Andrew V. Samoilov 23bdcf3d1e * editdraw.c (edit_render): Eliminate f. It's only written
but never read.
2001-11-28 12:31:48 +00:00
Pavel Roskin d1caf46603 * bookmark.c: Eliminate all code disabled for the text edition.
* edit-widget.h: Likewise.
* editcmd.c: Likewise.
* editdraw.c: Likewise.
* editoptions.c: Likewise.
2001-09-07 18:56:07 +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
Norbert Warmuth 5b31e4afe5 Mon May 25 23:32:35 1998 Norbert Warmuth <k3190@fh-sw.de>
* editdraw.c (print_to_widget): Ifdef'd SLang specific code in order
to make it compile with ncurses. Syntax highlighting in the
internal editor is already disabled when SLang isn't used.
1998-05-25 21:40:00 +00:00
Pavel Machek 0a4550ca9f Mcedit: changed some #include's. This makes it possible to remove some
-I options from makefiles, at least for the PC port
1998-05-12 16:47:52 +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 eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00