Summary: | show vertical line at columns the user chooses | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | esigra |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | esigra |
Priority: | NOR | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
esigra
2001-10-11 16:14:52 UTC
I have added this feature to HEAD. It shows a line at the word wrap column defined in the "Edit" settings if a fixed font is used. It can be enabled/disabled globally and dynamically in the view menu. It uses the color used for drawing the current line. I think this is not fixed for a number of reasons: (1) The bug is about a 1px vertical line representing the 80th column (or some other column as configured). (2) Having the vertical line should *not* prohibit you from writing over it (i. e. the line is a mere visual aid where the 80th column is located, but should not impose a hard limit that must not be overshot). So "Show Line at 80th column" != "Force break at 80th column" (3) I cannot make it visible! I looked into the Settings and into the View menu, but there was nowhere an item that switched the line on. How is it supposed to work in Kate 2.2? On Tuesday 10 February 2004 18:14, Leo Savernik wrote: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=33583 > l.savernik@aon.at changed: > > What |Removed |Added > --------------------------------------------------------------------------- >- Status|RESOLVED |UNCONFIRMED > Resolution|FIXED | > > > > ------- Additional Comments From l.savernik@aon.at 2004-02-10 18:14 > ------- I think this is not fixed for a number of reasons: > > (1) The bug is about a 1px vertical line representing the 80th column (or > some other column as configured). (2) Having the vertical line should *not* > prohibit you from writing over it (i. e. the line is a mere visual aid > where the 80th column is located, but should not impose a hard limit that > must not be overshot). So "Show Line at 80th column" != "Force break at > 80th column" (3) I cannot make it visible! I looked into the Settings and > into the View menu, but there was nowhere an item that switched the line > on. How is it supposed to work in Kate 2.2? I comitted a fix to this shortly before the kde 3.2 release, doesn't it work for you? -anders I activated the option: [X] Show static word wrap marker No vertical line Then I activated: [X] Enable static word wrap Still no vertical line. Font is Adobe Courier. Actually, I don't want the text to be statically wrapped (in fact, I don't want it wrapped at all), I only want a vertical line that tells me where the 80th column is located so that I don't overshoot it on wide window widths (except sometimes when I'm not more than about 5 character over the limit). The menu item "View/Show static word wrap marker" also doesn't do anything. On Tuesday 10 February 2004 21:17, Leo Savernik wrote: > I activated the option: > [X] Show static word wrap marker > > No vertical line > > Then I activated: > [X] Enable static word wrap > > Still no vertical line. > > Font is Adobe Courier. > > Actually, I don't want the text to be statically wrapped (in fact, I don't > want it wrapped at all), I only want a vertical line that tells me where > the 80th column is located so that I don't overshoot it on wide window > widths (except sometimes when I'm not more than about 5 character over the > limit). > > The menu item "View/Show static word wrap marker" also doesn't do anything. What KDE version? It should work in 3.2, but i didn't have the opportunity to try that yet. otherwise i'll fix it asap :) -anders Am Dienstag, 10. Februar 2004 21:32 schrieb Anders Lund:
> What KDE version?
The latest and greatest: KDE 3.2 :-)
Check to make sure that the "word wrap marker" colour is not the same as your background colour... On Wednesday 11 February 2004 04:59, Hamish Rodda wrote:
> Check to make sure that the "word wrap marker" colour is not the same as
> your background colour...
>
Eeps, we should fix that :)
-anders
Hey! It works now :-) I activated View/Show dynamic word wrap marker, and a black vertical line appeared. But it's at 81 whereas I set the static word wrap at 80 in the settings. Yeah, I know why it doesn't work on my KDE cvs environment. I'm using an inverse color scheme there, so it displays a black line on a black background ;-) Couldn't it be a little less obtrusive, e. g. light gray instead of black? The wrong column -- oops, thanks fo noticing. The color is conifgurable, given you have a recent KDE version, in the "Schemas" or if you run CVS "Fonts and Colors" config page. Hm, the column where the vertical line is painted is actually correct, in the sense that the text preceeding the line can be max wordWrapsAt characters wide -- the line is at the end of the desired column. I use the line to manually wrap my text/code, so it works perfectly well. The number in the Col: field in the statusline is the *next* column. Thanks a lot for implementing this! |