Modify

Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#6621 closed task (fixed)

Test with 0.12

Reported by: rjollos Owned by: nuald
Priority: normal Component: CodeExampleMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I'll test this macro with Trac 0.12dev, which is close to release, and update the wiki page with a 0.12 tag if it appears to be working well with 0.12dev.

Attachments (1)

repo.png (44.7 KB) - added by nuald 4 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by rjollos

The existing *CodeExample macros work, but I'm having trouble getting the new *CodeExamplePath examples to work, so I'll leave this open so I can retest after resolving that issue, and open a new ticket for that issue.

comment:2 Changed 5 years ago by rjollos

Making a note here for myself to determine whether path can be specified either w/ or w/o a leading slash. For another macro that I maintain, allowing both syntaxes fixed an issue that users commonly reported.

comment:3 Changed 5 years ago by rjollos

I'll plan to test the latest revision with 0.12 as soon as I just my VM working again.

Changed 4 years ago by nuald

comment:4 Changed 4 years ago by nuald

  • Resolution set to fixed
  • Status changed from new to closed

Tested with Trac 0.12 and multiply repositories. Works fine.

An example (see repo parameter):

{{{
#!CodeExample
## type = good
## repo = MacGPGME
## path=GPGData.m
## regex="static void releaseCallback\(.*"
## lines=4
#!objective-c
}}}

The code will be rendered as:

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.