Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 267567 | Differences between
and this patch

Collapse All | Expand All

(-)cooledit-3.17.17.orig/editor/editoptions.c.orig (-8 / +8 lines)
Lines 139-147 Link Here
139
    {gettext_noop("Complete"), CK_Complete, 0, 0, 0, 0, 0, 0},
139
    {gettext_noop("Complete"), CK_Complete, 0, 0, 0, 0, 0, 0},
140
    {gettext_noop("Paragraph_Format"), CK_Paragraph_Format, 0, 0, 0, 0, 0, 0},
140
    {gettext_noop("Paragraph_Format"), CK_Paragraph_Format, 0, 0, 0, 0, 0, 0},
141
    {gettext_noop("Paragraph_Indent_Mode"), CK_Paragraph_Indent_Mode, 0, 0, 0, 0, 0, 0},
141
    {gettext_noop("Paragraph_Indent_Mode"), CK_Paragraph_Indent_Mode, 0, 0, 0, 0, 0, 0},
142
#ifdef HAVE_PYTHON
142
//#ifdef HAVE_PYTHON
143
    {gettext_noop("Type_Load_Python"), CK_Type_Load_Python, 0, 0, 0, 0, 0, 0},
143
//    {gettext_noop("Type_Load_Python"), CK_Type_Load_Python, 0, 0, 0, 0, 0, 0},
144
#endif
144
//#endif
145
    {gettext_noop("Util"), CK_Util, 0, 0, 0, 0, 0, 0},
145
    {gettext_noop("Util"), CK_Util, 0, 0, 0, 0, 0, 0},
146
    {gettext_noop("Match_Bracket"), CK_Match_Bracket, 0, 0, 0, 0, 0, 0},
146
    {gettext_noop("Match_Bracket"), CK_Match_Bracket, 0, 0, 0, 0, 0, 0},
147
    {gettext_noop("Terminal"), CK_Terminal, 0, 0, 0, 0, 0, 0},
147
    {gettext_noop("Terminal"), CK_Terminal, 0, 0, 0, 0, 0, 0},
Lines 219-230 Link Here
219
{
219
{
220
    if (keycode) {
220
    if (keycode) {
221
	int i;
221
	int i;
222
#ifdef HAVE_PYTHON
222
//#ifdef HAVE_PYTHON
223
/* python user bindings take precedence over any other bindings */
223
/* python user bindings take precedence over any other bindings */
224
	i = coolpython_key (state, keycode, keysym);
224
//	i = coolpython_key (state, keycode, keysym);
225
	if (i >= 0)
225
//	if (i >= 0)
226
	    return CK_User_Command (i + MAX_NUM_SCRIPTS);
226
//	    return CK_User_Command (i + MAX_NUM_SCRIPTS);
227
#endif
227
//#endif
228
	i = get_script_number_from_key (state, keysym);
228
	i = get_script_number_from_key (state, keysym);
229
	if (i >= 0)
229
	if (i >= 0)
230
	    return CK_User_Command (i);
230
	    return CK_User_Command (i);

Return to bug 267567