Show
Ignore:
Timestamp:
01/12/11 13:56:54 (4 years ago)
Author:
mbutscher
Message:

* Bug fixed: Autocompletion for anchors treated wiki

links as wiki words (no relative or absolute paths
supported)

* Bug fixed: Indexing of updated pages was called

directly in event handling instead of in the
update thread

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/mbutscher/work/lib/pwiki/DocPages.py

    r234 r245  
    15181518            threadstop=DUMBTHREADSTOP): 
    15191519 
     1520        # Step 1: Refresh attributes 
    15201521        self.refreshAttributesFromPageAst(pageAst, threadstop=threadstop) 
    15211522 
     1523        # Some attributes control format details so check if attribute 
     1524        # refresh changed the details 
    15221525        formatDetails2 = self.getFormatDetails() 
    15231526        if not formatDetails.isEquivTo(formatDetails2): 
     
    15261529            return False 
    15271530 
    1528         return self.refreshMainDbCacheFromPageAst(pageAst, fireEvent=fireEvent, 
     1531        # Step 2: Refresh todos, link structure ... 
     1532        self.refreshMainDbCacheFromPageAst(pageAst, fireEvent=fireEvent, 
    15291533                threadstop=threadstop) 
     1534 
     1535        # Step 3: Update index search data 
     1536        self.putIntoSearchIndex(threadstop=threadstop) 
     1537         
     1538        return True 
     1539 
    15301540 
    15311541 
     
    17401750        """ 
    17411751        with self.textOperationLock: 
     1752            threadstop.testRunning() 
     1753 
    17421754            if not self.getWikiDocument().isSearchIndexEnabled(): 
    17431755                return True  # Or false? 
     
    18161828            if step == -1: 
    18171829                self._refreshMetaData(pageAst, formatDetails, threadstop=threadstop) 
    1818      
     1830 
    18191831                with self.textOperationLock: 
    18201832                    if not liveTextPlaceHold is self.liveTextPlaceHold: