Changeset 9653
- Timestamp:
- 12/13/09 00:48:20 (2 years ago)
- Location:
- trunk/Padre/lib/Padre
- Files:
-
- 2 edited
-
Document.pm (modified) (2 diffs)
-
Wx/Dialog/HelpSearch.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Document.pm
r9649 r9653 1384 1384 } 1385 1385 1386 # Individual document classes should override this method 1386 # Individual document classes should override this method. 1387 1387 # It gets a string (the current selection) and it should 1388 1388 # return a list of files that are possible matches to that file. … … 1393 1393 } 1394 1394 1395 # Individual document classes should override this method. 1396 # It needs to return the document specific help topic string. 1397 # In Perl this is using PPI to find the correct token 1398 sub find_help_topic { 1399 return; 1400 } 1401 1402 1395 1403 1; 1396 1404 -
trunk/Padre/lib/Padre/Wx/Dialog/HelpSearch.pm
r9629 r9653 305 305 return '' if not $doc; 306 306 307 my $topic; 308 if ( $doc->can('find_help_topic') ) { 309 $topic = $doc->find_help_topic; 310 } 307 my $topic = $doc->find_help_topic; 311 308 312 309 #fallback
Note: See TracChangeset
for help on using the changeset viewer.
