From 5f930428f724eef7dd0be4706670039b89f3523e Mon Sep 17 00:00:00 2001 From: mitchell Date: Tue, 7 Jul 2020 20:10:49 -0400 Subject: Demonstrate line numbers in jinx example for curses platform. --- curses/jinx/jinx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'curses') diff --git a/curses/jinx/jinx.c b/curses/jinx/jinx.c index c9b1f5b58..a650b2650 100644 --- a/curses/jinx/jinx.c +++ b/curses/jinx/jinx.c @@ -50,6 +50,7 @@ int main(int argc, char **argv) { " // Start up the gnome\n" " gnome_init(\"stest\", \"1.0\", argc, argv);\n}"); SSM(SCI_SETPROPERTY, (uptr_t)"fold", (sptr_t)"1"); + SSM(SCI_SETMARGINWIDTHN, 0, 2); SSM(SCI_SETMARGINWIDTHN, 2, 1); SSM(SCI_SETMARGINMASKN, 2, SC_MASK_FOLDERS); SSM(SCI_SETMARGINSENSITIVEN, 2, 1); -- cgit v1.2.3