Bugs item #2127823, was opened at 2008-09-25 17:24
Message generated for change (Comment added) made by dav7
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2127823&group_id=11005
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: dav7 (dav7)
Assigned to: Nobody/Anonymous (nobody)
Summary: Common smart indent macros windows flickers on scroll
Initial Comment:
The "Common smart indent macros" window appears to be redrawing improperly by
repainting the area where the text input area is located with the text area
background color inadvertently wiping the textarea out, then drawing the entire
textbox on top of this repainted area, causing a flickering effect. This redraw
of the entire textbox area is performed for each and every line scrolled.
To reproduce:
Open the "Program smart indent macros" window by going to Preferences ->
Default Settings -> Auto Indent -> Program Smart Indent...
dropdown the Language Mode box and, unless you have another set of indent
macros installed, I recommend you select C++, as its initialization code is
fairly substantial.
Click the "Common / Shared Initialization..." button.
Scroll the textarea in the window that has just opened up and down relatively
quickly, and observe the behavior I have described above.
-dav7
----------------------------------------------------------------------
Comment By: dav7 (dav7)
Date: 2008-09-26 19:29
Message:
Hi lebert, my output from nedit -version is as follows.
NEdit 5.5
Sep 30, 2004
Built on: Linux, Pentium Pro, GNU C
Built at: Dec 4 2007, 09:31:43
With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release 0.95.0]
(UNTESTED)
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 10500000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: en_US.utf8
Now that I think about it, it could be LessTif at fault *although no other
text area I've seen exhibits this issue* (including, obviously, the main
text editing widget).
I might build the latest nedit version from CVS tomorrow/soon. :P
-dav7
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-09-26 07:15
Message:
I've fixed my problem but still can't reproduce the reported problem.
For me, I had to delete the following text in the "Language Specific
Initialization Macro Commands and Definitions" section:
"
# C++ Macros and tuning parameters are shared with C, and are declared
# in the common section. Press Common / Shared Initialization above.
"
Otherwise when I clicked the "OK" to finish all the settings I got an
error as mentioned before.
JF
----------------------------------------------------------------------
Comment By: Bert Wesarg (lebert)
Date: 2008-09-26 03:00
Message:
@dav7:
I can't reproduce it either. Can you provide the output from 'nedit
-version' and can you try with the latest CVS version?
@John:
I can't reproduce it. Can you try it in a clean NEDIT_HOME env, i.e. make
new empty dir, cd into it, run 'NEDIT_HOME=$PWD nedit'.
Anyway, because you are using an unofficial version, you should report
such things to the 'distributor' (thats me in this case). Only if its
reproducible with official code, you should report it in this forum.
Thanks to both of you.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-09-26 00:37
Message:
not able to repeat this.
I got an error message when I tried to click "OK" button of "Program Smart
Indebt Macros" dialog:
"Syntax error im smart indent initialization macro:2:
# in the common section. Press Common/Shared Initialization above/"
???
I am using a nedit variation from http://repo.or.cz/w/nedit-bw.git
NEdit release of Sep 23, 2008
Built on: Linux, 386, Intel C++
Built at: Sep 23 2008, 11:57:33
With Motif: 2.2.3 [@(#)Motif Version 2.2.4]
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 10400090
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: en_US.UTF-8
NEdit Shell: /bin/csh
Default Shell: /bin/csh
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2127823&group_id=11005
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop