Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7171851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:29:47+00:00 2026-05-28T15:29:47+00:00

In Komodo Edit 6.1 , there is a nice feature to find and highlight

  • 0

In Komodo Edit 6.1 , there is a nice feature to find and highlight all the functions (navigation->Find all functions ctrl+F8). It searches based on a Regex to find all the functions, which is this :

^[  ]*?(def\s+[^\(]+\([^\)]*?\):|class\s+[^:]*?:)

But there is a minor problem with it, if there are some blank spaces between the “)” and “:” , which technically is correct but this Regex won’t match.
I want to modify it to :

^[  ]*?(def\s+[^\(]+\([^\)]*?\) *:|class\s+[^:]*?:)

There is only one additional “{space}*” before first “:”

But I don’t know where to find the default value for this configuration.
I even tried about:config but it wasn’t there too.

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:29:48+00:00Added an answer on May 28, 2026 at 3:29 pm

    Use Ctrl+F immediately after Ctrl+F8 to view and modify the regex. Save it as a macro and bind the macro to a keyboard shortcut:

     komodo.assertMacroVersion(2);
     if (komodo.view && komodo.view.scintilla) { komodo.view.scintilla.focus(); } // bug 67103
    
     Find_ReplaceAllInMacro(window, 2, '(^[ |\t]*?(?:([\w|\.|_]*?)\s*=\s*function|function\s*([\w|\_]*?)|([\w|\_]*?)\s*:\s*function).*?$)', '\\1', true, 2, 0, false, false);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a simple way to reformat my HTML from within Komodo Edit or
I have set up a macro for Smarty in Komodo Edit which adds a
How do you get code hinting/completion for chained functions in Komodo edit. I had
Question: Is anyone out there familiar enough with Komodo Edit to shed some light
Hi by default komodo edit supports the following languages for its auto completion feature
I am using Komodo Edit , a code editor. When I right click on
I've been using Komodo Edit for a small project in Django. The code completion
I've recently upgraded to Komodo Edit 7 from 6.1, and while the upgrade has
I'm going to try building a custom language extension for Komodo Edit. In order
I find the regular expression toolkit tool in Komodo 4.1 pretty handy. Trouble is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.