handy tool - txtcollector, and two questions
< Next Topic | Back to topic list | Previous Topic >
Posted by jimspoon
Sep 16, 2019 at 05:00 PM
washere wrote:
1) Txt editor as you prescribed:
>
>That text editor might not exist. Because you want multi files to be
>pulled in as a single file. Then changes for different sections saved to
>original multi files. The big new file is a temporary file, either not
>saved &/or saved as a new big file. That’s the problem.
I don’t really see why it would a problem, seems eminently possible from a programming standpoint. The viewer/editor would show all the loaded text files in a single stream, with say, a dotted line (not an actual part of the text, but just a display element) marking the boundary between the content of one file and another. You could freely move text to a location between two particular dotted lines (the text of file A), to a location between two other dotted lines (the text of file B). Then you could do a save operation. And File A would be saved with the text so deleted, and File B would be saved with the text so added to it.
>You might try database viewers which have nice text editing
>Windows/panes with regular txt editing functions (usual editor goodies).
>Then dynamically link the txt files as fields. Or as cells in a
>spreadsheet that has the same editor niceties. But it’ll be quicker
>otherwise.
Not quite sure I understand how this would work.
>My route is there other way. I have large note files on the phone
>separated by lines made of any number of:
>_______
>or
>——————
>or
>========
>
>Then I use an app to cut the big file into multi files where the above
>line characters occur. Can sort groups of them into relevant subfolders.
That is a good strategy, and sometimes I use it myself.
>What you want would need invisible placeholders to remember which
>paragraphs belong to what file. Doesn’t exist IMHO. It’ll need rule sets
>of how to behave too, boundaries might change in editing.
>You can look into scripts that pipe text files into editors. But I don’t
>think they maintain live relationships from chunks to extremal files,
>again a new big file is created as temp and/or a new big saved file.
>2) File manager as you specified:
>For Which platform: Windows, Mac, Linux?
Windows.
Posted by jimspoon
Sep 16, 2019 at 05:46 PM
jimspoon wrote:
>Even better, it would be great I could find a text editor into which I
>could load many files at once, with all files appearing consecutively in
>a single window, with some kind of visual indication of the boundary
>between each file. Each file could then be edited by browsing through
>the single “virtual file” and making edits. When the “virtual file” is
>saved, the changes would be saved to each of the individual text files
>that makes up the “virtual file”. I seem to recall that the Sense
>editor had some kind of capability like this? Anybody know about this,
>or any other such editor?
Just an update on this part of my inquiry - I had forgotten about Depeche View, which does display many files in a single stream, with delimiters between each file. I didn’t think it had editing functions too, I need to look into that - here’s the link:
http://stahlworks.com/dev/depeche-view.html?r=dvinfo-61-2
Posted by Alexander Deliyannis
Sep 16, 2019 at 06:22 PM
Thanks for this, very useful!
jimspoon wrote:
>Just an update on this part of my inquiry - I had forgotten about
>Depeche View, which does display many files in a single stream, with
>delimiters between each file.
Posted by jimspoon
Sep 16, 2019 at 06:26 PM
Also it seems that Depeche View may indeed be able to save edits to many different text files (loaded all into a single stream), all at once! If I am reading this right:
http://stahlworks.com/dev/doc/dviewhelp.html#Chapter_9_Pro_The_Integrated_Text_Editor
“While editing text, as soon as you typed in text changes,
you see two buttons at the right top, “Save” and “Revert”.
- when you click on “Save”, all changes of all edited files
are saved to disk, and all open editors are closed
(DView goes back to search mode).”
I remember trying DepecheView in the past, but I was just put off by the interface. And the very different way of working with files. (Sorry Depeche View developer! But it might be worth another look.)