| 35 | should i create a new function in src/color.h? |
| 36 | |
| 37 | any suggestions? |
| 38 | }}} |
| 39 | |
| 40 | Comment 1 by Pavel Tsekov <ptsekov> at Sat 21 Apr 2007 11:20:23 AM UTC: |
| 41 | {{{ |
| 42 | Please, calm down. Finding a problem is the easy part - describing |
| 43 | it properly, so that others can reproduce it, is of great importance |
| 44 | if you want to get the problem solved. |
| 45 | |
| 46 | From you bug report it is clear that you see some problem related |
| 47 | the way copy/paste works in relation to the internal editor. |
| 48 | However, I cannot understand what is actually wrong - please, do the |
| 49 | following: |
| 50 | |
| 51 | 1) explain what do you do - copy/paste from where to where ? |
| 52 | 2) explain what happens |
| 53 | 3) explain what do you expect to happen |
| 54 | }}} |
| 55 | |
| 56 | Comment 2 by Oswald Buddenhagen <ossi> at Sat 21 Apr 2007 11:41:25 AM UTC: |
| 57 | {{{ |
| 58 | i understood immediately what he means. :-P |
| 59 | |
| 60 | me: you can configure most *terms to strip trailing whitespace from |
| 61 | the selection. without this, i would have freaked out long ago. :) |
| 62 | }}} |
| 63 | |
| 64 | Comment 3 by me <me4mc> at Sun 22 Apr 2007 09:22:16 AM UTC: |
| 65 | {{{ |
| 66 | i dont like the idea of changing the terminal just because a |
| 67 | application misbehaves. my workarround for several years is to cat |
| 68 | the current file - hopefully it's not a 60M log... |
| 69 | |
| 70 | therefore created a patch (that only works for slang and mc 4.6.1) |
| 71 | that uses a clear eol function to perform the action of clearing the |
| 72 | rest of the current line. |
| 73 | selection works fine for me now, but the display flickers on |
| 74 | movement - something i can handle |
| 75 | |
| 76 | @pavel: did you even read the post? the solution was in it - i hope |
| 77 | in future we can improve understanding! |
| 78 | |
| 79 | to make it work as described i had to create a new function in |
| 80 | color.c&h that resets the color index 0. if anything simmilar exists |
| 81 | please adopt the idea. |
| 82 | |
| 83 | i dont care if this ever ends up in the main tree - it would save me |
| 84 | the trouble of patching. once a year.. |
| 85 | |
| 86 | gentoo ebuild with use flag in testing phase maybe apears in sunrise |
| 87 | overlay |
| 88 | |
| 89 | peace |
| 90 | me |
| 91 | }}} |
| 92 | |
| 93 | Comment 4 by Pavel Tsekov <ptsekov> at Sun 22 Apr 2007 09:31:31 AM UTC: |
| 94 | {{{ |
| 95 | Is it so hard to write a proper bug report ? I want to reproduce the |
| 96 | problem myself and I couldn't - I failed because the lack of |
| 97 | information. It is not correct to assume that everything has the |
| 98 | same problem as you do. And how can I apply a patch if I do not |
| 99 | understand what's going on. |
| 100 | |
| 101 | I am sure Oswald can explain the problem to me but after all it is |
| 102 | up to the submitter to describe the bug it sees. |
| 103 | }}} |
| 104 | |
| 105 | Comment 5 by me <me4mc> at Sun 22 Apr 2007 09:50:04 AM UTC: |
| 106 | {{{ |
79 | | Is it so hard to write a proper bug report ? I want to reproduce the |
80 | | problem myself and I couldn't - I failed because the lack of |
81 | | information. It is not correct to assume that everything has the |
82 | | same problem as you do. And how can I apply a patch if I do not |
83 | | understand what's going on. |
| 146 | Comment 6 by me <me4mc> at Sun 22 Apr 2007 09:56:32 AM UTC: |
| 147 | {{{ |
| 148 | mhh i browsed this menu @savannah and found that there is a |
| 149 | difference between patch and bug and the bugs i submitted could have |
| 150 | been patches - sorry for the trouble that might have caused, will |
| 151 | use patches in future |
| 152 | }}} |
104 | | to make it work as described i had to create a new function in |
105 | | color.c&h that resets the color index 0. if anything simmilar exists |
106 | | please adopt the idea. |
107 | | |
108 | | i dont care if this ever ends up in the main tree - it would save me |
109 | | the trouble of patching. once a year.. |
110 | | |
111 | | gentoo ebuild with use flag in testing phase maybe apears in sunrise |
112 | | overlay |
113 | | |
114 | | peace |
115 | | me |
116 | | me <me4mc> |
117 | | Sat 21 Apr 2007 11:41:25 AM UTC, comment #2: |
118 | | |
119 | | i understood immediately what he means. :-P |
120 | | |
121 | | me: you can configure most *terms to strip trailing whitespace from |
122 | | the selection. without this, i would have freaked out long ago. :) |
123 | | Oswald Buddenhagen <ossi> |
124 | | Sat 21 Apr 2007 11:20:23 AM UTC, comment #1: |
125 | | |
126 | | Please, calm down. Finding a problem is the easy part - describing |
127 | | it properly, so that others can reproduce it, is of great importance |
128 | | if you want to get the problem solved. |
129 | | |
130 | | From you bug report it is clear that you see some problem related |
131 | | the way copy/paste works in relation to the internal editor. |
132 | | However, I cannot understand what is actually wrong - please, do the |
133 | | following: |
134 | | |
135 | | 1) explain what do you do - copy/paste from where to where ? |
136 | | 2) explain what happens |
137 | | 3) explain what do you expect to happen |
138 | | Pavel Tsekov <ptsekov> |
139 | | Project Administrator |
140 | | Sat 21 Apr 2007 10:25:44 AM UTC, original submission: |
141 | | |
142 | | i managed to find another x problem: |
143 | | when you are in the *term and select some text all newlines are lost |
144 | | and filled up with spaces. |
145 | | |
146 | | i managed to find the problem in the |
147 | | editordraw.c in print_to_widget |
148 | | the hline draws blanks at the rest of the line. |
149 | | |
150 | | i understand that behaviour but there is a possibility to do this right: |
151 | | |
152 | | SLtt_set_color (DEFAULT_COLOR_INDEX, NULL, "default", "default"); |
153 | | SLsmg_erase_eol(); |
154 | | or |
155 | | clrtoeol() |
156 | | |
157 | | however, i tryed to create that behaviour and failed because i |
158 | | cannot set the default color index (0) to blue/white. |
159 | | the problem is that users with other color settings (me: |
160 | | black/green) could be angy if i hardcode blue/white |
161 | | |
162 | | the default state is black/white - looks ugly but works. |
163 | | |
164 | | if you could suggest how to properly set the fg/bg |
165 | | |
166 | | should i create a new function in src/color.h? |
167 | | |
168 | | any suggestions? |
| 168 | Comment 8 by Pavel Tsekov <ptsekov> at Thu 26 Apr 2007 04:16:10 PM UTC: |
| 169 | {{{ |
| 170 | Does it help if you disable "Return does autoindent" from |
| 171 | Options -> General in the editor ? |