[ nedit-Bugs-459528 ] Tab changes focus
SourceForge.net
noreply at sourceforge.net
Mon Mar 5 01:11:18 CET 2007
Bugs item #459528, was opened at 2001-09-07 15:49
Message generated for change (Comment added) made by yooden
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=459528&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: release
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thorsten Haude (yooden)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tab changes focus
Initial Comment:
I have this macro:
- - -
define SmartTab
{
if ($selection_start == -1)
{
process_tab()
} else
{
shift_right_by_tab()
}
}
- - -
using <Tab> as an accelerator key.
On Motif 1.2.4/HP-UX and OpenMotif [SuSE 7.2]/Linux,
when I press <Tab>, not only the macro is executed, but
the focus shifts from the text widget to the I-search
bar. Subsequent <Tab>s do execute the macro, but don't
change the focus.
I don't see this with LessTif 0.89.9/Linux. The HP-UX
NEdit displays on the same box, so I don't think it's
XFree86.
Using <Tab> as an accelerator key required to edit
.nedit, but it is displayed in the dialog without
problems. I have a similar SmartUntab bound to <Shift +
Tab> not showing any problems.
----------------------------------------------------------------------
>Comment By: Thorsten Haude (yooden)
Date: 2007-03-05 01:11
Message:
Logged In: YES
user_id=119143
Originator: YES
Any news on this, ysyrota?
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2006-10-12 22:54
Message:
Logged In: YES
user_id=119143
0. Install NEdit.
1. Create a file 'tabs.import' which contains the following:
- - - Schnipp - - -
nedit.macroCommands: \
Util>SmartTab:Tab::: {\n\
smartTab()\n\
}\n\
Util>SmartUntab:Shift+Tab::: {\n\
smartUntab()\n\
}
- - - Schnapp - - -
2. Create a file 'tabs.nm' which contains the following:
- - - Schnipp - - -
define smartTab
{
if ($selection_start == -1)
{
process_tab()
} else
{
shift_right_by_tab()
}
}
define smartUntab
{
if ($selection_start == -1)
{
insert_string("\t")
} else
{
shift_left_by_tab()
}
}
- - - Schnipp - - -
3. Run 'nedit -import tabs.import'
4. Revel in the magnificence that is NEdit and forget about
vi and Emacs (optional).
5. Use the File->Load Macro File menu entry to find and open
tabs.nm.
6. Use the Preferences->Incremental Search Line menu entry
to show the i-search line.
You're set. Now open some code, select some lines you want
to re-indent and press tab to increase indentation or
shift-tab to decrease. The indentation should work, but the
keyboard focus switches to the i-search line with Tab and
stays there.
----------------------------------------------------------------------
Comment By: Yuriy Syrota (ysyrota)
Date: 2006-10-12 15:08
Message:
Logged In: YES
user_id=1073962
I want to investigate is this an OpenMotif bug, but I'm not
a Nedit user. Could you write me the steps to reproduce the
issue?
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2006-09-17 16:30
Message:
Logged In: YES
user_id=119143
Still a problem with OM 2.2.3 on Debian Sarge. Any idea?
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2005-11-25 22:59
Message:
Logged In: YES
user_id=119143
I still see this with every version of OM I can lay my hands on.
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2001-09-14 14:44
Message:
Logged In: YES
user_id=119143
The same error with 5.1.1 on HP-UX (probably also Motif
1.2.4), displaying on the Linux box. So let's postpone it.
----------------------------------------------------------------------
Comment By: Joor Loohuis (joor)
Date: 2001-09-14 12:49
Message:
Logged In: YES
user_id=197101
Thorsten,
Can you test if this also happens with 5.1.1? If that is the
case, it should probably be pushed back to the main line.
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2001-09-07 15:52
Message:
Logged In: YES
user_id=119143
Forgot something: The HP-UX NEdit is RC1, the LessTif one is
from a few weeks back, when extended version info was in but
the month wasn't, the OpenMotif is currently unknown,
probably rc1 or a newer DEV.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=459528&group_id=11005
More information about the Develop
mailing list