Author Topic: ReloadWithEncoding  (Read 1215 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1616
  • Hero Points: 147
  • Text
ReloadWithEncoding
« on: April 26, 2013, 10:21:52 pm »
(Win7 64bit, 64bit Slick beta 1)
I was really excited to see this as a new feature - so I tried it right away.
First file I tried it in, the menu option is disabled for :-( :-( :-(

Why?
I don't know what format the file is because Slickedit doesn't display this information anywhere. It is a *.txt file. Hex, LineHex, SpecialChar are all enabled.

Having it disabled for some (mystery) file types defeats the purpose of this function.
It would be really helpful if Slick would make the file type information visible.
In the status bar, please add LineFormat and Actual Encoding being used (displaying "Automatic" wouldn't be very helpful).


OK, so I tried running "rwe()" on the cmdline. Now it complains that the file is read-only.
Files should not need to be writable to change encoding.


BTW, I *love* the new MDI.
(I assume it will eventually let you drag tabs around more freely?)

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: ReloadWithEncoding
« Reply #1 on: April 29, 2013, 01:37:39 pm »
I'll get the read-only problem fixed up for Beta 2.

Glad you like the new MDI. We will have drag and drop support for the new file tabs in the final release, but not sure if it'll be in Beta 2.

jporkkahtc

  • Senior Community Member
  • Posts: 1616
  • Hero Points: 147
  • Text
Re: ReloadWithEncoding
« Reply #2 on: April 29, 2013, 05:51:33 pm »
Thanks.
I forgot to mention ... the "Select Encoding" dialog should also include line-ending options.


Another problem I just discovered as well ... 
Create a new file with File->New. Automatic, no filename. Type or paste some text into the buffer.

ReloadWithEncoding is enabled, but does nothing - no error, no status, nada.



Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: ReloadWithEncoding
« Reply #3 on: April 29, 2013, 06:04:31 pm »
I'll get in the line ending options and the correct menu update code before the next beta.