Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Starburst on May 13, 2025, 03:15:58 PM

Title: Text editor in File Manager
Post by: Starburst on May 13, 2025, 03:15:58 PM
Just had a script troubleshot, and it turned out CRLF line terminators where being added to the end and causing the script to error and not run.

The editor in File Manager (fileManager_v2) automatically adds CRLF line terminators
Title: Re: Text editor in File Manager
Post by: overseer on May 13, 2025, 05:25:25 PM
Thanks for the head's up!
Title: Re: Text editor in File Manager
Post by: Starburst on May 14, 2025, 07:11:43 PM
Yea, you try a quick little edit, and it messes the file up.

I noticed it's also enabled in Notepad++ if you use it, you need to disable it under settings -> Preferences-> Auto-Completion.
Title: Re: Text editor in File Manager
Post by: overseer on May 14, 2025, 07:46:58 PM
I use either VSCodium or Textadept, generally. They tend to behave fairly well! (And my complete text editor collection, that's a different story!)
Title: Re: Text editor in File Manager
Post by: Starburst on May 14, 2025, 07:51:48 PM
I usually use Nano on the servers, but I was lazy, and bot it that bite me in the butt.

Though the script writer did introduce me to Sublime Text.
Title: Re: Text editor in File Manager
Post by: overseer on May 14, 2025, 09:51:15 PM
YES! I really have liked Sublime when I have used it. (And nano and sometimes vim on the servers themselves...)