1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-22 00:56:26 -05:00
Commit Graph

83 Commits

Author SHA1 Message Date
d60640af0f Quick Mac Hack: add Mac mode for CR only EOL. 2024-11-30 16:32:16 +08:00
a370d748c4 Revise line primitives linstr() and lover() 2021-08-22 12:35:39 +08:00
cd2f848e0a Fix twiddle movement and at EOL with single Unicode. 2021-08-21 09:36:41 +08:00
e6921a8ed1 Centralize customization in defines.h instead of Makefile + estruct.h. 2021-08-18 16:54:35 +08:00
109e330861 Consistent interface to deal with workaround on Cygwin when checking width of unicode character > 0xFFFF. 2021-08-15 09:41:35 +08:00
b4d69118f5 Revise header files formatting.
Finish tagging BBINDABLE functions.
Modify forward-character to handle combined Unicode.
Bump up version number and set default program name as 'ue'.
2021-08-13 11:06:58 +08:00
50b727bf7f Bindable functions take a boolean as flag.
Emphasize which one always return TRUE.
Use mloutfail() to introduce consistency when a function fails with error message.
2021-08-11 17:02:19 +08:00
d890880a52 Revise bindable functions usage of struct to named types. 2021-08-03 13:37:06 +08:00
7730a4e730 Improve handling of UTF-8 interactive input of strings. 2021-08-01 15:07:06 +08:00
c4fab606d1 Revise keycode encoding.
Gather APROP and CFENCE conditional code.
2021-07-30 16:24:52 +08:00
695b5d37da Tag most view mode incompatible functions in function names table. 2021-07-19 20:50:32 +08:00
659ada8b64 buffer-position (CTL-X =) reports 100% ratio when at end of file even for empty buffer. 2020-05-10 12:07:08 +08:00
3807410154 buffer-position (CTL-X =) displays EOF as current character when at end of file. 2020-05-06 16:27:40 +08:00
674a3baba4 Setting $curcol works on line containing UTF-8 encoded characters. 2017-05-18 12:16:07 +08:00
99487b126f Consistent unicode handling in buffer-position (CTL-X =) and $curchar. 2017-05-05 10:49:02 +08:00
7e71cf52a3 Review cursor move commands in basic. 2016-05-22 22:22:39 +08:00
14e6240b9c Transpose-characters valid with mixed UTF-8 and extended ASCII. 2016-05-21 07:52:19 +08:00
f11dea468f Insure transpose-characters works with UTF8. 2016-05-20 20:42:37 +08:00
92078e5595 Check consistency of forwchar/backchar calls.
Review entab dot movement.
2016-05-20 19:46:54 +08:00
2b21a98e9c Review forwchar and backchar. 2016-05-19 21:27:26 +08:00
d4b2a4c1aa Review ldelchar and ldelete. 2016-05-19 14:02:43 +08:00
3e2d73394a Review buffer list related functions. 2016-03-24 21:53:36 +08:00
ee667b25ed Move insbrace and fmatch to execute.
Review execute.
2016-03-01 19:17:39 +08:00
14ef4f50ab Review insbrace, getfence and fmatch.
Adjust timing to pause when highlighting matching brace.
$tpause <= 0 disable matching brace highlight.
2016-02-29 21:23:43 +08:00
663fc2e554 Fix: In C-mode, auto-indent increment was not correct when matching opening brace is first character of buffer. 2016-02-29 19:02:09 +08:00
775b16c7b1 Rewrite cinsert to avoid buffer size constraint when doing indentation in C mode. 2016-02-25 21:50:04 +08:00
a42c60045d Improve consistency of tab insertion behaviour while indenting and brace matching. 2016-02-25 17:08:27 +08:00
998559464b In C mode, insure indentation is correct when inserting newline at end of white lines. 2016-02-24 22:18:37 +08:00
3436443807 Introduce boolean $hardtab to control insertion of hardcoded tab or soft ones (spaces). Review insert_tab accordingly. 2016-02-24 21:17:45 +08:00
8dfa92ba44 Review inspound, '#' insertion in C mode. 2016-02-24 20:00:44 +08:00
c390cf2a3e Remove tab width constraints, was [2, 4, 8], now [1... 2016-02-24 13:22:54 +08:00
db30d6d734 Mode commands based on newmlarg (replacement of mlreply). 2015-10-01 08:19:39 +08:00
d3b02af275 Missing random.c from commit 198980b, review of newmlargt interface. 2015-09-29 15:06:08 +08:00
ce4d105794 Allow either dynamic or pre-defined input size from message line.
Insure to capture ABORT status when doing input from message line.
2015-09-28 17:46:00 +08:00
3ffa8967ef Align implementation of overwrite-string with insert-string. 2015-09-28 13:37:22 +08:00
cbbd860bdc Rework insert-string for dynamic token input. 2015-09-27 22:13:20 +08:00
51967939b8 Harmonize usage of mlreply, mlreplyt and nextarg based on actual needs (input always terminated either on meta or newline characters). 2015-08-25 09:17:41 +08:00
af919c3f9c ^X= buffer-position displays EOL character as \r for DOS. Number of characters in file is also reported correctly. 2015-05-05 12:17:56 +08:00
80cbd37f5c Add extra warning check and fix signed to unsigned comparison issues. 2015-02-28 20:29:00 +08:00
e2be62323b Review scope of exported variables and functions for bind, eval, file,fileio, random. 2015-02-16 11:39:16 +08:00
bb44fc57ad Limit the scope of mlforce to eval. 2015-02-13 17:46:42 +08:00
5e5558e00b Align naming convention for output of text on the message line: mlout*. (Was a mix of log & write). 2015-02-13 12:31:59 +08:00
3f1ac2596c Fix getccol reporting when dealing with characters in range 0x80 .. 0xA0. 2015-02-09 13:31:39 +08:00
356a003194 buffer-position reports character under cursor according to type (either 0xXX or \uXXXX). 2015-02-08 14:47:56 +08:00
2cef071492 Insure correct UTF-8 encoding: asc( chr( 0x800)) == 0x800.
buffer-position displays unicode value of character under cursor instead of first byte of unicode sequence.
2015-02-06 13:20:51 +08:00
434c9ba7ab Review mlforce to avoid necessity to double '%' in input string, thus avoiding potential buffer overflow in caller functions (mdbugout and write-message). 2015-01-15 17:57:12 +08:00
79b57c96d1 insert-string can insert strings up to 512 characters. 2014-12-22 20:57:47 +08:00
3197080cb1 Introduce spat_t as search pattern type and reduce need for NPAT as pattern length constant. 2014-12-22 20:57:26 +08:00
e9142541a9 Review visibility of tabsize variable and nextab() macro. 2014-12-22 20:55:56 +08:00
da813d2efc Partial move configuration options out of estruct.h. 2014-12-22 17:44:52 +08:00