This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kate and Kwrite maximum line length settings

Tags: None
(comma "," separated)
dwlamb
Registered Member
Posts
32
Karma
0
As a PHP/MySQL developer I occasionally have to edit an SQL file manually. Is there a way to disable the maximum line length in either Kate or Kwrite?

Most other text editors don't have a maximum line length limit. If there are other programmers out there using KDE, what is the alternative?
User avatar
google01103
Manager
Posts
6668
Karma
25
settings -> configure kate -> editor component -> open/save -> general -> line length limit


OpenSuse Leap 42.1 x64, Plasma 5.x

dwlamb
Registered Member
Posts
32
Karma
0
I know how to change the line length. It just seems no matter what I set, Kwrite or Kate is not satisfied. Even something as long as 1024000.
User avatar
google01103
Manager
Posts
6668
Karma
25
seems a bug fixed in master branch https://bugs.kde.org/show_bug.cgi?id=303598


OpenSuse Leap 42.1 x64, Plasma 5.x

dwlamb
Registered Member
Posts
32
Karma
0
This does not solve my issue. The rewrite of the file is not always silent. A dialog box is presented informing certain non-specific lines exceed whatever value I enter in the configuration parameters. I have tried a value as high as 999999 and Kate will either inform Me a line is too long, put the file into read-only mode or a combination of the two.
User avatar
google01103
Manager
Posts
6668
Karma
25
what version of KDE? it seems to work ok for me in a simple test under 4.10rc


OpenSuse Leap 42.1 x64, Plasma 5.x

dwlamb
Registered Member
Posts
32
Karma
0
KDE 4.9.4/Kubuntu 12.10

google01103 wrote:what version of KDE? it seems to work ok for me in a simple test under 4.10rc
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately that commit did not make it into the KDE/4.9 branch, and so was only part of KDE 4.10, which was recently released.
Only updating to KDE 4.10 will fix your issue in this case I am afraid (and as KDE 4.10 has now been released, no more stable releases of the KDE 4.9 series will be made).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
tobek
Registered Member
Posts
13
Karma
0
OS
I've found that if you set the Line Length Limit to 0 that disables it.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft