Commit Graph

167 Commits

Author SHA1 Message Date
Ilia Maslakov
7d21002668 Ticket #1898 (mcedit: vertical selection bug)
now after changing the cursor position does not break the vertical text selection.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-23 16:03:56 +00:00
Ilia Maslakov
40523a2c01 Ticket #2449 (search position is reset but should not be)
steps to reproduce:

    mcview_remember_file_position=1

    test file: file1.ext
        123
        456
        123
        qwe
        123
        123
        qwe
        123
        qwe
        456

    1) open file1.ext in mcedit search text 'qwe'
    2) close file1.ext
    3) open file1.ext in mcview
    4) close file1.ext
    5) reopen file1.ext in mcedit and search again text 'qwe'

    search position is reset but should not be reset.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-15 21:04:19 +00:00
Ilia Maslakov
2e73ca4989 Ticket #2437 (mcedit: selection length trouble)
now selection length do not changed after text is backspaced in middle selection.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-13 12:02:16 +02:00
Ilia Maslakov
bac3fbe8a9 Ticket #2238 (mcedit: do not reset selection after copy to clipboard)
In mcedit, when the selected text is copied to the clipboard, the selection disappears.
    This behavior contradicts to the traditional behavior of all modern text editors and is highly annoying.
    Now selection don't reset after the text is copied into the clipboard.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-10 11:32:09 +03:00
Slava Zanko
bbf1f4e857 Moved filemanager-related stuff to src/filemanager directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:32 +03:00
Andrew Borodin
fdb61594df Cleanup of main.[ch].
All file panels related stuff was moved to midnight.[ch].

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko
08e9759283 Split file src/keybind.[ch] to lib/keybind.[ch] and src/keybind-defaults.[ch].
File src/cmddef.h now merged to lib/keybind.h

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:31 +03:00
Slava Zanko
62f3c368c9 Renamed keybind-related functions:
* lookup_action          -> keybind_lookup_action
* lookup_keymap_shortcut -> keybind_lookup_keymap_shortcut
* lookup_keymap_command  -> keybind_lookup_keymap_command

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko
045debaa8a Moved charsets.[ch] from src to lib directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Andrew Borodin
71364f88c3 Split lib/widget/widget.[ch] and lib/widget/wtools.[ch] files
...into small: one widget in one file.
Renamed most if WInput functions.
Minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
8d1708225c Don't include lib/util.h via lib/global.h.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Slava Zanko
8b018db98f Some WIDGET-related stuff moved to lib/widget directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:30 +03:00
Slava Zanko
cb4bdfa00d Code indentation in src/editor directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:29 +03:00
Slava Zanko
feb733663f Code indentation in lib directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:20 +03:00
Andrew Borodin
4892044e71 Remove extra check before mc_search free() call.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:20 +03:00
Andrew Borodin
9a8ae90a49 Reimplemented search engine in editor.
Now search engines of editor and viewer use the identical algorithm.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:20:26 +03:00
Andrew Borodin
a80c9edb93 Ticket #2417: incorrect charset conversion in editor search engine.
Initial step: type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:20:26 +03:00
Andrew Borodin
3e7d76eb13 Ticket #2197: added new color for status bar
...and added missed colors for button bar.

Updated EN and RU man pages.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:07:17 +03:00
Andrew Borodin
e8c35970ee Ticket #2415: keep active state of editor before final decision about quit.
The same fix is applied to viewer and diffviewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-20 12:57:38 +03:00
Andrew Borodin
4c40d57508 (edit_set_filename): expand tilde while setting file name.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Andrew Borodin
8088fe9b66 Ticket #2398: tilde is not treated as home directory in editor "Save As" dialog.
(edit_get_save_file_as): return file name with expanded tilde.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Andrew Borodin
51f28528f6 Ticket #1424: install some files into /usr/share/mc instead of /etc/mc.
RPMLint shows the following warnings:
mc.i586: W: conffile-without-noreplace-flag /etc/mc/Syntax
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.lib
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.charsets

First step: install Syntax into /usr/share/mc instead of /etc/mc.
This also fixes the impossibility of editing of system-wide Syntax file
in mcedit under root (menu Options->Syntax file->System Wide).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Andrew Borodin
e4105c1e72 Ticket #2324: fix of syntax highlighting lost after manual change.
Also some type accuracy is provided.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-18 15:10:27 +04:00
Egmont Koblinger
aa9cb6d320 Ticket #2170: Color collisions
Midnight Commander's color/skin engine often reuses the same color definition for multiple elements on the UI.
This unnecessarily limits the possibilities when playing with colors.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-13 13:21:10 +03:00
Andrew Borodin
7f119ffbbc Ticket #1785: fix of editor default color usage.
(this_try_alloc_color_pair): if foreground and background editor colors
are undefined in syntax, the NORMAL_COLOR is used. This is wrong.
EDITOR_NORMAL_COLOR mut be used instead.

(edit_status): cleanup: remove useless color change.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-06 12:15:45 +03:00
Ilia Maslakov
3013a364b0 Merge commit 'origin/2287_persistent_bookmarks'
* commit 'origin/2287_persistent_bookmarks':
  Fix in lib/logging.c for proper work on 64-bit platforms.
  Change of bookmark drawing.
  Fixed memory leak: destroy serialization bookmarks if file position is not saved.
  Use GArray for bookmarks instead of raw array.
  Minor optimization, type accuracy, includes fix.
  Ticket #2287 (mcedit: persistent bookmarks)
2010-09-28 18:33:53 +04:00
Ilia Maslakov
0c7f4c2494 Change of bookmark drawing.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-09-28 14:12:32 +04:00
Andrew Borodin
34bee19937 Fixed memory leak: destroy serialization bookmarks if file position is not saved.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-28 14:12:28 +04:00
Andrew Borodin
ec8d6f0751 Get rid of some '#ifdef ENABLE_VFS' conditions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:44:20 +04:00
Andrew Borodin
ed18e2d093 Use GArray for bookmarks instead of raw array.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-17 17:13:10 +04:00
Andrew Borodin
3af16693e2 Minor optimization, type accuracy, includes fix.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-17 17:13:09 +04:00
Filip Sefrna
a4651d8d2b Ticket #2287 (mcedit: persistent bookmarks)
Save bookmarks of internal edit in filepos

Signed-off-by: Filip Sefrna <fsefrna@gmail.com>

Type accuracy.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-09-17 17:13:09 +04:00
Andrew Borodin
37b49b3920 Ticket #2324: fix of manually changing syntax definition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-09-06 13:17:52 +04:00
Andrew Borodin
6598729ce5 Ticket #2320: fixed regexp replacement in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-06 13:08:21 +04:00
Andrew Borodin
62052016a5 Ticket #2311: reimplementation of editor 'About' window.
mcedit version number and button are centered now in 'About' window.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-03 19:37:20 +04:00
Andrew Borodin
4c505ff791 Ticket #2189: use MC version as a version of MCEdit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-30 19:12:08 +04:00
Andrew Borodin
11e335cdba Minor cleanup of replace conversion functions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-19 21:05:21 +04:00
Andrew Borodin
49f70b5339 Ticket #2272: fixed segfault in replace confirmation in editor.
Editor segfaults after pressing Skip or Cancel button in 'Confirm
replace' dialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-19 21:05:21 +04:00
Andrew Borodin
7869478668 Improvements of QuickDialog engine.
Added capability to modify options of QuickWidget.
Added capability to use custom callback in QuickDialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-17 15:27:21 +04:00
Andrew Borodin
c8bd032113 Ticket #2035: added "Toggle syntax highlighting" menu item.
Added "Toggle syntax highlighting" menu item.
Described C-s shortcut in mcedit man page.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-11 16:22:14 +04:00
Andrew Borodin
f660c97698 Ticket #2256: changed focused button in editor quit dialog.
Now the focused button in editor quit dialog is "Cancel quit" as was
before 4.7.3 release. Button order stay as in 4.7.3 release.
Likewise for hex editor.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-08 19:54:12 +04:00
Ilia Maslakov
7dec7e5083 little optimization
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-07-05 14:56:58 +00:00
Ilia Maslakov
ad3cd6ae0c Ticket #2153 (editor wrong copy/move selected text)
fixed incorrect calculate position start/end marked block,
    after edit text in the area ahead marked text.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-07-05 14:56:57 +00:00
Andrew Borodin
59a85303a8 Optimization: don't process the replacement string very often.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 16:19:33 +04:00
Andrew Borodin
3e6491dcac Fixups of replacement algorithm.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 16:19:33 +04:00
Andrew Borodin
cc975c8024 Fixed memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 16:19:33 +04:00
Andrew Borodin
d2aad0716b Ticket #2231: fixup of replacement algorithm in mcedit.
Type accuracy. Removed unused variables. Removed double assignment.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 16:19:33 +04:00
Andrew Borodin
9dfe1ed070 Ticket #2248: mcedit: don't try set codepage again after file load.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-25 14:39:36 +04:00
Slava Zanko
48fe4e6881 Lock file is created and destroyed with full path.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:53 +04:00
Andrew Borodin
b2ee413f03 Allow use file locking in various components of MC.
Renamed and moved src/editor/editloc.[ch] -> lib/lock.[ch].
Renamed lock handling functions.
Fixed library order in src/Makefile.am.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:22 +04:00
Andrew Borodin
cf6098505c Close dialogs during MC shutdown.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:15 +04:00
Andrew Borodin
56bbdeb15f Support of multiple editors and viewers.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
dfe9bc887a MC Edit: column_highlighting flag is a member of WEdit struct.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
a87165824c Added function to get dialog title.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
74651f2e9f Added modal flag to the dialog structure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
5c9826a897 Renamed dlg_id and parent fields of Widget structure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
6efe7f2216 Reimplemented widget list in dialog using GList.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
0e0f9c8ccd Added dialog state (active, suspended, closed).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
8bcc49900b Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-14 14:04:02 +04:00
Andrew Borodin
dce8010059 Declaration of option_tab_spacing variable was moved from main.h to setup.h.
Includes were fixed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-14 13:53:02 +04:00
Andrew Borodin
0485ae5026 Ticket #2196: editor hangup if editor_tab_spacing is equalt to 0.
Check and correct value of option_tab_spacing during options loading.
Check and correct value of option_word_wrap_line_length during options loading
and after editor options changing.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-14 13:53:02 +04:00
Ilia Maslakov
c46e2925e1 Ticket #30 (use external clipboard utility)
added params clipbord_store, clipbord_paste into [Misc] section.
    created src/clipbord.[ch]
    added copy_file_to_ext_clip, paste_to_file_from_ext_clip for copy/paste
    text to the global X clipboard.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-06-11 13:47:46 +00:00
Andrew Borodin
044b9eca12 Fixed inaccuracy brach merging.
The e40a84f538 commit actually reverted
the 3209f8e61b one. That is wrong.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-10 11:23:30 +04:00
Vit Rosin
e40a84f538 g_string_sprintf() is deprecated.
Reimplemented error messages in src/editor/edit.c using g_strdup_printf().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-08 13:07:11 +04:00
Andrew Borodin
9dc0a54ba1 Ticket #2085: replacement of deprecated GLib functions.
g_tree_traverse() is deprecated. g_tree_foreach() is used instead.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-08 13:03:26 +04:00
Andrew Borodin
aa0d96bd8b Ticket #1646: removed leading and trailing spaces in i18n resources.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 21:42:46 +04:00
Andrew Borodin
a7cb5194c2 Removed unused defines.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:34:15 +04:00
Ilia Maslakov
a4e4378861 initial step to do mark in inpun fields
added selection with mouse

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Code cleanup: make visibility of some functions as static

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

fixed skins

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:26:59 +03:00
Ilia Maslakov
72bb075828 Ticket #2161 (del - clear input field)
new behavior: DEL - clear current field of dialog if text in the field is not modify and cursor not moved.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Code cleanups: avoid compiler warnings

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-27 22:26:59 +03:00
Andrew Borodin
3209f8e61b edit_load_file_fast(): don't reset utf8 flag that was set early.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 14:07:22 +04:00
Andrew Borodin
72144b4895 edit_set_codeset(): new function to set codeset in MC editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-27 14:07:22 +04:00
Andrew Borodin
9a97d08c16 Ticket #2168: all hotkeys are in the lowercase now.
Hotkeys are already highlighted by the color; there is no any point
in using yet another attribute (uppercase) for emphasizing them
even more. Capitalizing a letter in the middle of a word looks ugly.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-26 09:59:03 +04:00
Andrew Borodin
7eb8f4030c Ticket #2183: edit crash while opening some incorrect files.
The result of

touch 1.gz

is not a valid gzip'ed file. MCEditor crashes trying open it.

Changed initialization order of editor to init charset conversion
handler by non-zero value before open a file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 11:10:10 +04:00
Ilia Maslakov
823387a793 Removed hardcoded hotkeys in dialog.c Replaced keymap's initialization from main.c into setup.c
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Collect keybind-related variables in src/keybind.[ch] files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-07 15:02:11 +04:00
Vit Rosin
1c367a41fd Removed unneeded break after return.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
e70db42deb Grammar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:13 +04:00
Andrew Borodin
4cea5be1ac Ticket #2097: clean up before 4.7.2 release.
Split assignments and conditions. Type accuracy. Minor optimization.

Thanks Vit Rosin for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:23:51 +04:00
Slava Zanko
3a1e0966ae Final Indentation of all touched files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:21 +03:00
Slava Zanko
5d79a90737 Changes into src/editor directory:
* edit/editcmd.c:
  * ignore fscanf() result in edit_delete_macro()
  * ignore fscanf() result in edit_load_macro_cmd()
  * ignoring mc_chown() errors in edit_save_file()
  * handling system() call errors in edit_block_process_cmd()
 * edit/edit.c: handling read errors in edit_load_file_fast()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Andrew Borodin
12d3ef7171 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:25:32 +04:00
Andrew Borodin
d391813325 Optimization: rid of edit_menubar global variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin
962bd6fc15 Optimization: rid of wedit and option_syntax_type global variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin
1480937b17 Type accuracy. Minor optimization.
GLib function are used to manadge array of strings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin
469d119e12 Ticket #1754: show current syntax in 'Choose syntax highlighting' dialog.
Now current syntax scheme is highlighted in 'Choose syntax highlighting'
dialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:47 +04:00
Ilia Maslakov
946715e971 Ticket #2155 (remove selected text before input)
Remove selected text before input or paste from clipboard.
    Thanks to nikk9 <dev.nul@mail.ru> for the original patch.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-28 19:12:43 +00:00
Ilia Maslakov
51401d441f Ticket #2081 (editor: incorrect overwrite text after input utf-8 chars)
fixed input multibyte chars in overwrite editor mode (remove character only when the first byte is inserted).
    thanx to Egmont Koblinger <egmont@gmail.com> for original patch and ticket.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-06 15:08:30 +04:00
Andrew Borodin
5b68413e62 Applied MC indentation policy.
Applied MC indentation policy to all files modified in this branch
with some simple manual modifications.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin
63a4966a70 Destroy converter before quit from editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin
d03a7e236b Fixed memory leaks in edit_search_cmd().
Thanks Vit Rosin for the original patch.

Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Ilia Maslakov
4b0b9878ac Ticket #2094 (after option "Cursor beyond end of line" switch off cursor still beyond end of line)
fixed position of cursor after disable option "Cursor beyond end of line" in editor options dialog.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-03-16 14:04:35 +03:00
Ilia Maslakov
bbb9b8bafc Ticket #1770 (compilation error)
fixed compilation error with tcc.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-03-10 11:21:45 +03:00
Mikhail S. Pobolovets
93494a6d27 edit-widget.h, syntax.c: MC indenation policy has been applied
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 18:55:28 +02:00
Mikhail S. Pobolovets
9537ff6fe0 Ticket #1770: added switch 'caseinsensitive' for syntax highlighting
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 18:42:58 +02:00
Slava Zanko
5354d59337 Identation of some source files.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 11:26:00 +02:00
Slava Zanko
054c5d6f44 x86_64: Cleanup of code for master
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Slava Zanko
1b75ea27b6 Cleanup of code for master
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Ilia Maslakov
cf16304bf6 Ticket #1986 (not converted text in confirm dialog)
fixed encoding of text in 'Confirm replace' dialog.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-25 19:55:59 +03:00
Andrew Borodin
63aa191e7a Ticket #1572: retain search/replace options in editor.
Retain search/replace options in editor across editing session.
Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-22 14:59:46 +03:00
Ilia Maslakov
b0236c3e10 Ticket #1998 (EditColumnMark can't go up through newline)
fixed trouble with vertical selection

more detail description:

In block selection mode (shift-F3) it's impossible to go beyond empty line with
up or left arrow (i.e. in top direction).
In general: it's impossible to pass any line shorter than finishing column,
until left arrow is pressed at column 0 (which won't work on empty line), e.g.

xxxCxxx
yyyyy
zzzzzDz

- put cursor in C position,
- press shift-F3,
- go to D position,
- press up arrow twice,
- press left arrow - you're unlocked now and free to go up.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-19 12:59:10 +03:00
Andrew Borodin
1947d842a5 Added deletable member to WListbox structure.
Added deletable member to WListbox structure to enable
delete some list entries.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00