problem with KATE editor

"Jorge M. Pacheco" <[email protected]> Fri, 25 Apr 2025 10:33:15 +0100
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------Uk64Ln7K7UUtfGG7YxGsUyzf
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello !
I am experiencing the following problem using the KATE editor that I 
love so much:
In a bash script file I have the following sequence:

#!/bin/bash
# -----------------------------------------------------------------
cd  R06-67; RunMATHLocal RUNWithIntegerInput.m ; cd ..

I open this file with KATE and, without changing anything I press Save.
The result is:

#!/bin/bash
# -----------------------------------------------------------------
cd R06-67
RunMATHLocal RUNWithIntegerInput.m
cd ..

How can I disable this feature ?
I am sure there must be a command to achieve this in KATE, but I have 
been unable to find it.
Needless to say, the same automatic changes happen with code written in 
other languages, such a Python.

Thanks very much in advance for your time,

Jorge M. Pacheco

PS: I am using Fedora 41 KDE running kernel 6.13.11-200.fc41.x86_64 & 
X11 session (I often use Mathematica that does not work properly in 
Wayland).



--------------Uk64Ln7K7UUtfGG7YxGsUyzf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Helvetica, Arial, sans-serif">Hello ! <br>
        I am experiencing the following problem using the KATE editor
        that I love so much: <br>
        In a bash script file I have the following sequence: <br>
        <br>
      </font><font face="monospace" color="#1a5fb4">#!/bin/bash<br>
        #
        -----------------------------------------------------------------<br>
        cd  R06-67; RunMATHLocal RUNWithIntegerInput.m ; cd ..</font></p>
    <p>I open this file with KATE and, without changing anything I press
      Save. <br>
      The result is: <br>
    </p>
    <p><font face="monospace" color="#1a5fb4">#!/bin/bash<br>
        #
        -----------------------------------------------------------------<br>
      </font><font face="monospace" color="#1a5fb4">cd R06-67<br>
        RunMATHLocal RUNWithIntegerInput.m<br>
        cd ..</font><br>
      <br>
    </p>
    <p>How can I disable this feature ? <br>
      I am sure there must be a command to achieve this in KATE, but I
      have been unable to find it. <br>
      Needless to say, the same automatic changes happen with code
      written in other languages, such a Python. <br>
      <br>
      Thanks very much in advance for your time,<br>
      <br>
      Jorge M. Pacheco <br>
    </p>
    <p>PS: I am using Fedora 41 KDE running kernel <span
        style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">6.13.11-200.fc41.x86_64
        </span></span>&amp; X11 session (I often use Mathematica that
      does not work properly in Wayland). <br>
    </p>
    <p><span style="font-family:monospace"><br>
        <br>
      </span></p>
  </body>
</html>

--------------Uk64Ln7K7UUtfGG7YxGsUyzf--