|
rzg1972
中级用户
  
积分 250
发帖 103
注册 2006-1-7
状态 离线
|
   『楼 主』:
上传一个文本编辑软件的C源码
使用 LLM 解释/回答一下
ED文本编辑软件虽号称dos文本编辑器终结者,但有许多缺点,较大的缺点如下:
1. 不支持宏;
2. 块复制或移动不能重叠;
3. 不支持单个超长大文件;
4. 分割窗口功能太差;
5. 段落排版功能太弱。
TDEDIT3文本编辑软件的缺点:
1. 不支持下拉菜单;
2. 不支持单个超长大文件;
3. 段落排版和制表功能太弱;
4. 不支持汉字(双字节)
请那位高手将TDEDIT3文本编辑软件C源码;)修改成如下功能:
1 带下拉菜单;
2 执行此文件时加参数 /C 支持汉字(双字节)直接写屏和中文制表符;
3. 支持英文多套制表符。
4. 具备倚天OW文本编辑器强大的段落排版功能.
5. 支持超长大文件;
6. 加强宏功能
(1)将所有宏保存在系统默认的配置文件里;
(2)保存宏时,允许命名,以便能对宏功能作简单说明;
(3)使用宏时,支持通过快捷键直接调用和显示宏列表选择调用两种方式.
7. 象WPS一样支持命令重复执行功能,重复次数可设定,默认次数为1次.
8. 象CCED一样支持dos命令执行功能.
9. 支持行科学计算器功能,支持十进制,二进制和十六进制.
The disadvantages of ED text editing software: Although it claims to be the terminator of DOS text editors, it has many disadvantages. The major disadvantages are as follows:
1. Does not support macros;
2. Block copy or move cannot overlap;
3. Does not support a single extremely large file;
4. The split window function is too poor;
5. The paragraph formatting function is too weak.
Disadvantages of TDEDIT3 text editing software:
1. Does not support drop-down menus;
2. Does not support a single extremely large file;
3. The paragraph formatting and tabulation functions are too weak;
4. Does not support Chinese characters (double bytes)
Please have the expert modify the C source code of TDEDIT3 text editing software to the following functions:
1. With drop-down menus;
2. When executing this file, add parameter /C to support Chinese characters (double bytes) direct screen writing and Chinese tab characters;
3. Support multiple sets of English tab characters.
4. Have the powerful paragraph formatting function of Yitian OW text editor.
5. Support extremely large files;
6. Strengthen macro functions
(1) Save all macros in the system default configuration file;
(2) When saving macros, allow naming, so that simple descriptions of macro functions can be made;
(3) When using macros, support direct call through shortcut keys and two ways of calling by displaying macro lists for selection.
7. Support command repeat execution function like WPS, and the number of repetitions can be set, with the default number of times being 1 time.
8. Support DOS command execution function like CCED.
9. Support line scientific calculator function, support decimal, binary and hexadecimal.
附件
1: TDEDIT3源码.part01.rar (2007-3-25 21:50, 87.89 KiB,下载次数: 100)
附件
2: TDEDIT3源码.part02.rar (2007-3-25 21:50, 87.89 KiB,下载次数: 107)
附件
3: TDEDIT3源码.part03.rar (2007-3-25 21:50, 80.5 KiB,下载次数: 109)
|
|
2007-3-25 21:50 |
|
|
rzg1972
中级用户
  
积分 250
发帖 103
注册 2006-1-7
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
上传该文本编辑软件可执行文件
Upload the executable file of this text editing software
附件
1: 已编译文件.rar (2007-3-25 21:53, 77.2 KiB,下载次数: 133)
|
|
2007-3-25 21:53 |
|
|
henrya2
中级用户
  
积分 486
发帖 171
注册 2006-2-12
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
Many thanks!
|

Those who do not study the past are condemned to repeat it |
|
2007-3-26 00:10 |
|
|
rzg1972
中级用户
  
积分 250
发帖 103
注册 2006-1-7
状态 离线
|
|
2007-3-31 22:37 |
|
|
henrya2
中级用户
  
积分 486
发帖 171
注册 2006-2-12
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
|

Those who do not study the past are condemned to repeat it |
|
2007-4-3 07:32 |
|
|
rzg1972
中级用户
  
积分 250
发帖 103
注册 2006-1-7
状态 离线
|
|
2007-4-5 09:43 |
|
|
zylh
新手上路

积分 18
发帖 9
注册 2007-3-27
状态 离线
|
|
2007-5-4 14:51 |
|
|
ldljlzw
初级用户
 
积分 127
发帖 12
注册 2003-6-20
状态 离线
|
|
2007-5-5 10:42 |
|
|
lixun305
初级用户
 
积分 21
发帖 11
注册 2007-6-8
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
谢谢,学习学习,看能否改进一下
Thanks, study and learn, see if it can be improved
|
|
2007-6-14 18:09 |
|
|
nxbai
新手上路

积分 4
发帖 2
注册 2007-8-14
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
我晕....你这个也叫文本编辑器?
我C课程结业的时候写过一个!和TC编辑器差不多.还带菜单的.
给你个提示.使用TC语言的屏幕缓存到一个变量的函数...具体函数我给忘了.当初是参照学校的一本<程序员参考手册>写的!好好加油啊
--------------看了你那个以编辑EXE.所说
Last edited by nxbai on 2007-8-14 at 09:50 PM ]
Oh, I'm dizzy.... You call this a text editor? When I finished my C course, I wrote one! It's similar to the TC editor. It even has a menu.
Here's a hint. Use the function in TC language to cache the screen into a variable... Specifically, I forgot the exact function. Back then, I wrote it by referring to a school's "Programmer's Reference Manual"! Keep it up well!
--------------After seeing your talk about editing EXE.
Last edited by nxbai on 2007-8-14 at 09:50 PM ]
|
|
2007-8-14 21:48 |
|