ScalpiEditor

Diff
Login

Diff

Differences From Artifact [18933c334f]:

To Artifact [97185b5347]:


2006
2007
2008
2009
2010
2011
2012




















2013
2014
2015
2016
2017
2018
2019
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







                    }
                } else {
                    ok = false;
                    __AppEditor_changeStatusCText__("macro not recording right now.");
                }
            return ok;
        }
    // # __AppEditor_stop__
        void __AppEditor_stop__(struct __AppEditor__ *t) {
            __Terminal_cursorMove__(&__app__.terminal, 0, t->lines_drawing);
            __OsConsoleOutput_write__(&__app__.console.output, "\n", 0);
            printf("file: {%.*s}", t->__AppEditor_fileName_len__ , &t->__AppEditor_fileName__[0]);
            
            { // draw_line_num
                void *ctx = t->current_ctx; if (ctx) {
                    const struct __AppEditorViewsVTable__ *vt = t->current_vtable; if (vt) {
                        size_t (*cln) (void *t) = vt->countLineNum; if (cln) {
                            size_t current_line = cln(ctx);
                            printf(" {%d}", current_line);
                        }
                    }
                }
            }
            
            __OsConsoleOutput_write__(&__app__.console.output, "\r\n", 0);
            t->working = false;
        }
    // # __App_deinit__
        void __App_deinit__(struct __App__* app) {
            __OsHelper_deinit__(&app->__App_osHelper__);
        }
    // # __App_init__
        bool __App_init__(struct __App__* t) {
            bool ok = true;