saving text files from inspector

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

saving text files from inspector

Peter Uhnak
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.

Is this an oversight or an intention?

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: saving text files from inspector

Tudor Girba-2
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.

Is this an oversight or an intention?

Thanks,
Peter



--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: saving text files from inspector

Peter Uhnak

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).

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: saving text files from inspector

Andrei Chis
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).

Thanks,
Peter