Author Topic: ToDo List Toolbar (Updated for SE2022)  (Read 90380 times)

LBCEi

  • Senior Community Member
  • Posts: 267
  • Hero Points: 21
Re: ToDo List Toolbar
« Reply #45 on: September 24, 2016, 01:18:24 AM »
The "Alternate TDML" regex used to (in SE2014 and earlier) pick up the stuff to the right of the colon and put it into the Description field.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6938
  • Hero Points: 531
Re: ToDo List Toolbar
« Reply #46 on: September 24, 2016, 01:28:31 AM »
Ah..you have to toggle that option on.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6938
  • Hero Points: 531
Re: ToDo List Toolbar
« Reply #47 on: September 24, 2016, 01:29:43 AM »
The problem with the regex was the expression ":b*" and ":b@". Previously this worked and it is currently broken (simple fix).

Having said that, :b was really a bad idea for a built-in regex because it gets incorrectly used. Too bad is too late to change that. It's being incorrectly used in this regex. :b actually is [ \t]# and not just [ \t]. Putting a loop around a loop is very bad. You really don't want ([ \t]#)*. It makes the regex engine do way to may tries.

MartyL

  • Senior Community Member
  • Posts: 166
  • Hero Points: 29
  • Synergex
Re: ToDo List Toolbar
« Reply #48 on: September 24, 2016, 03:44:53 AM »
Yeah, I fixed the regex earlier and re-uploaded the original post. I saw the nuance in :b while I was fixing the script earlier.

Hope everything is working better for you now, LBCEi!

LBCEi

  • Senior Community Member
  • Posts: 267
  • Hero Points: 21
Re: ToDo List Toolbar
« Reply #49 on: September 24, 2016, 04:10:27 AM »
The version at the top of this thread solved the problems.

Thank you so much Marty (and Clark).

I wonder if the other versions that are scattered throughout the thread could/should be cleaned up (removed) to avoid confusion for future visitors.

Les

MartyL

  • Senior Community Member
  • Posts: 166
  • Hero Points: 29
  • Synergex
Re: ToDo List Toolbar
« Reply #50 on: September 24, 2016, 05:51:53 AM »
I wonder if the other versions that are scattered throughout the thread could/should be cleaned up (removed) to avoid confusion for future visitors.

Great plan. I just cleaned up my extras throughout. Glad to hear it's working again.

nghate

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Re: ToDo List Toolbar (Updated for SE2016)
« Reply #51 on: October 25, 2017, 10:33:04 PM »
Do we have an updated version of the todo List Tool bar for SE2017? I tried using a version from this thread (ver 0.8) and it does not seem to load. I am not a pro user so it will take me a while to figure out why it did not load...

MartyL

  • Senior Community Member
  • Posts: 166
  • Hero Points: 29
  • Synergex
Re: ToDo List Toolbar (Updated for SE2016)
« Reply #52 on: October 25, 2017, 11:17:06 PM »
Hey there nghate!

I downloaded 2017 this afternoon and fixed up the macro. You can find a version 1.1 in the first post that should work in 2017 and still be backward compatible. I don't have a Standard Edition license, so I wasn't able to test there. But it is working well in Pro.

JimS

  • New Community Member
  • Posts: 2
  • Hero Points: 0
Re: ToDo List Toolbar (Updated for SE2017)
« Reply #53 on: December 24, 2019, 02:44:33 AM »
This thread has not been updated in a couple years. Does anyone still use this script? Does anyone have an update that works with SE2019?

LBCEi

  • Senior Community Member
  • Posts: 267
  • Hero Points: 21
Re: ToDo List Toolbar (Updated for SE2017)
« Reply #54 on: December 24, 2019, 03:17:58 AM »
I'm still using it regularly.  If you get the version from the first post in this thread it should work up to the latest version of SE:

https://community.slickedit.com/index.php/topic,6129.msg25274.html#msg25274

MartyL

  • Senior Community Member
  • Posts: 166
  • Hero Points: 29
  • Synergex
Re: ToDo List Toolbar (Updated for SE2017)
« Reply #55 on: January 06, 2020, 05:14:23 PM »
I'll get SE 2019 downloaded to see if there's any issues.

dunkers

  • Senior Community Member
  • Posts: 778
  • Hero Points: 36
Re: ToDo List Toolbar (Updated for SE2017/SE2019)
« Reply #56 on: October 20, 2022, 09:11:59 PM »
This is one of my favourite macros but, sadly, it fails to load in SE27 with 'version error'. The debug message list points to se/messages/message.e as the source of the problem, line 61, with the description: "Identifier already defined as same or different type"

Code: [Select]
MSGCLEAR_FLAGS m_autoClear; // MSGCLEAR flag
Anyone know how to fix this? Everything was working in V26 and comparing the message macros between versions indicates only one unrelated line has changed.

MartyL

  • Senior Community Member
  • Posts: 166
  • Hero Points: 29
  • Synergex
Re: ToDo List Toolbar (Updated for SE2017/SE2019)
« Reply #57 on: October 20, 2022, 09:55:06 PM »
Thanks for letting me know there's a problem. I haven't had a chance to try V27 yet, but I'll get it loaded and see about fixing the issue.

MartyL

  • Senior Community Member
  • Posts: 166
  • Hero Points: 29
  • Synergex
Re: ToDo List Toolbar (Updated for SE2017/SE2019)
« Reply #58 on: October 20, 2022, 10:18:53 PM »
This is one of my favourite macros ...

Thank you! I resolved the problem and posted an updated version in the top post. All that changed is that I have #ifdef'd the se/messages/Message.e import. Looks like they might have regressed the way enums in classes are processed, or imports, or maybe it was intentional.

Code: [Select]
#if __VERSION__ < 27
#import "se/messages/Message.e"
#endif

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6938
  • Hero Points: 531
Re: ToDo List Toolbar (Updated for SE2022)
« Reply #59 on: October 20, 2022, 10:21:54 PM »
this will work:

Code: [Select]
#require "se/messages/Message.e"

Most of the time #import works but there are times you need more type definitions (class/struct/enum).