I use the MonthCalendar as a journal for my work, and I use level one title to denote a particular project I am writing about and then a level two title for the subproject. I would like to include all of the titles in the mouse over tips for the MonthCalendar.

A small fix is to apply this patch:

   1 --- MonthCalendar_old.py	2008-01-31 12:30:24.000000000 -0800
   2 +++ MonthCalendar.py	2008-01-31 12:07:32.000000000 -0800
   3 @@ -391,7 +391,7 @@
   4                      query = {}
   5                      r, g, b, u = (255, 0, 0, 1)
   6                      daycontent = daypage.get_raw_body()
   7 -                    header1_re = re.compile(r'^\s*=\s(.*)\s=$', re.MULTILINE) # re.UNICODE
   8 +                    header1_re = re.compile(r'^\s*(=+\s.*\s=+)$', re.MULTILINE) # re.UNICODE
   9                      titletext = []
  10                      for match in header1_re.finditer(daycontent):
  11                          if match:
MonthCalendar.diff

The fix is heavy-handed (matching any number of "=" on the left, independent of the right). Is there general interest in permanently extending the maketips?


CategoryFeatureRequest

MoinMoin: FeatureRequests/MonthCalendarMaketipTitleLevels (last edited 2008-01-31 20:37:52 by MikolaiFajer)