Exemplo n.º 1
0
        private static string getPathString(string fPath, OS os, Folder f)
        {
            var navigationPathAtPath = Programs.getNavigationPathAtPath(fPath, os, f);
            var str = "";

            for (var index = 0; index < navigationPathAtPath.Count; ++index)
            {
                str = str + "#" + navigationPathAtPath[index];
            }
            return(str);
        }
Exemplo n.º 2
0
        private static string getPathString(string fPath, OS os, Folder f)
        {
            List <int> navigationPathAtPath = Programs.getNavigationPathAtPath(fPath, os, f);
            string     str = "";

            for (int index = 0; index < navigationPathAtPath.Count; ++index)
            {
                str = str + "#" + (object)navigationPathAtPath[index];
            }
            return(str);
        }
Exemplo n.º 3
0
        public virtual void showSourcePressed()
        {
            var str   = "";
            var count = Programs.getNavigationPathAtPath("", os, root).Count;

            for (var index = 0; index < count; ++index)
            {
                str += "../";
            }
            os.runCommand("cd " + (str + "web"));
            os.delayer.Post(ActionDelayer.Wait(0.1), () => os.runCommand("cat " + lastLoadedFile.name));
        }
Exemplo n.º 4
0
        public virtual void showSourcePressed()
        {
            string str   = "";
            int    count = Programs.getNavigationPathAtPath("", this.os, this.root).Count;

            for (int index = 0; index < count; ++index)
            {
                str += "../";
            }
            this.os.runCommand("cd " + (str + "web"));
            if (this.lastLoadedFile == null)
            {
                return;
            }
            this.os.delayer.Post(ActionDelayer.Wait(0.1), (Action)(() => this.os.runCommand("cat " + this.lastLoadedFile.name)));
        }