it seems that I cannot save text files from inspector, only if they are smalltalk (.st) files, in which case a different text editor tab (Script, instead of Contents) is opened up.
The problem is that if you have a larger text file (let's say 100Mb), Rubric still takes too long to open. Thus, we cannot show the whole file, and because of that, we also cannot provide complete editing options. This will change with TxText.
Doru
On Fri, Jul 24, 2015 at 10:40 PM, Peter Uhnák <[hidden email]> wrote:
Hi,
it seems that I cannot save text files from inspector, only if they are smalltalk (.st) files, in which case a different text editor tab (Script, instead of Contents) is opened up.
On Fri, Jul 24, 2015 at 10:44 PM, Tudor Girba <[hidden email]> wrote:
The problem is that if you have a larger text file (let's say 100Mb), Rubric still takes too long to open. Thus, we cannot show the whole file, and because of that, we also cannot provide complete editing options. This will change with TxText.
I see... even though it sounds weird... I mean not only will most editors irrespective of language choke on 100Mb files, but such file will be obviously generated and why would you edit such a beast by hand?
So if I want it I should write a custom presenter (or just copy the script one).
Another solution would be to add the action for saving as long as the content is not truncated.
Cheers,
Andrei
On Fri, Jul 24, 2015 at 11:44 PM, Peter Uhnák <[hidden email]> wrote:
On Fri, Jul 24, 2015 at 10:44 PM, Tudor Girba <[hidden email]> wrote:
The problem is that if you have a larger text file (let's say 100Mb), Rubric still takes too long to open. Thus, we cannot show the whole file, and because of that, we also cannot provide complete editing options. This will change with TxText.
I see... even though it sounds weird... I mean not only will most editors irrespective of language choke on 100Mb files, but such file will be obviously generated and why would you edit such a beast by hand?
So if I want it I should write a custom presenter (or just copy the script one).