digitalmars.D.learn - Simple text editor program
- pascal111 (3/3) Nov 16 2021 Is there a so simple text editor written in D as an example for
- =?UTF-8?Q?Ali_=c3=87ehreli?= (6/9) Nov 16 2021 I am not familiar with any of them but searching for 'editor' finds some...
- Dr Machine Code (2/11) Nov 17 2021 It's a emacs' variant written in D?
- =?UTF-8?Q?Ali_=c3=87ehreli?= (5/9) Nov 17 2021 Yes. The dub page explains that the original author is Dave G. Conroy.
- bachmeier (3/13) Nov 17 2021 It was originally written in C. Walter ported it to D in 2008:
- bachmeier (4/20) Nov 17 2021 Emacs, but not GNU Emacs. There's a big difference:
- zjh (5/8) Nov 17 2021 Med is too simple,just for learn.
- Adam D Ruppe (5/8) Nov 17 2021 Probably not what you really want but this old post has a cute
Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone.
Nov 16 2021
On 11/16/21 6:10 PM, pascal111 wrote:Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone.I am not familiar with any of them but searching for 'editor' finds some packages: https://code.dlang.org/search?q=editor I think 'med' is by Walter Bright; he uses that editor daily. Ali
Nov 16 2021
On Wednesday, 17 November 2021 at 03:21:34 UTC, Ali Çehreli wrote:On 11/16/21 6:10 PM, pascal111 wrote:It's a emacs' variant written in D?Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone.I am not familiar with any of them but searching for 'editor' finds some packages: https://code.dlang.org/search?q=editor I think 'med' is by Walter Bright; he uses that editor daily. Ali
Nov 17 2021
On 11/17/21 12:49 PM, Dr Machine Code wrote:Yes. The dub page explains that the original author is Dave G. Conroy. med is written by Walter and is his favorite editor. (I should try it one day and see how different it is from Emacs.) AliI think 'med' is by Walter Bright; he uses that editor daily. AliIt's a emacs' variant written in D?
Nov 17 2021
On Wednesday, 17 November 2021 at 21:37:01 UTC, Ali Çehreli wrote:On 11/17/21 12:49 PM, Dr Machine Code wrote:It was originally written in C. Walter ported it to D in 2008: https://github.com/DigitalMars/med/blob/master/src/med/main.dYes. The dub page explains that the original author is Dave G. Conroy. med is written by Walter and is his favorite editor. (I should try it one day and see how different it is from Emacs.) AliI think 'med' is by Walter Bright; he uses that editor daily. AliIt's a emacs' variant written in D?
Nov 17 2021
On Wednesday, 17 November 2021 at 20:49:22 UTC, Dr Machine Code wrote:On Wednesday, 17 November 2021 at 03:21:34 UTC, Ali Çehreli wrote:Emacs, but not GNU Emacs. There's a big difference: http://www.texteditors.org/cgi-bin/wiki.pl?EmacsFamilyOn 11/16/21 6:10 PM, pascal111 wrote:It's a emacs' variant written in D?Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone.I am not familiar with any of them but searching for 'editor' finds some packages: https://code.dlang.org/search?q=editor I think 'med' is by Walter Bright; he uses that editor daily. Ali
Nov 17 2021
On Wednesday, 17 November 2021 at 03:21:34 UTC, Ali Çehreli wrote:On 11/16/21 6:10 PM, pascal111 I think 'med' is by Walter Bright; he uses that editor daily. AliMed is too simple,just for learn. Actually, it's best to program with `VIM`,kinds of plugin. I've been saying that D we should make a good plug-in on `VIM/vscode`.
Nov 17 2021
On Wednesday, 17 November 2021 at 02:10:07 UTC, pascal111 wrote:Is there a so simple text editor written in D as an example for learners. I hope the editor whose code is written in D is available with someone.Probably not what you really want but this old post has a cute sample program using my minigui.d https://forum.dlang.org/post/dyvhplzvsoojwkypdhaw forum.dlang.org Of course most the functions are just stubs.
Nov 17 2021