Changeset 1458
- Timestamp:
- 07/05/08 09:43:09 (8 weeks ago)
- Location:
- trunk/peppy
- Files:
-
- 2 modified
-
fundamental.py (modified) (1 diff)
-
fundamental_menu.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/peppy/fundamental.py
r1454 r1458 366 366 self.setViewEOL() 367 367 self.setWhitespace() 368 self.SetZoom(self.locals.font_zoom) 368 369 369 370 # Added call to colourise because some parameter might have changed -
trunk/peppy/fundamental_menu.py
r1457 r1458 173 173 Callback function used to set the stc to the correct line. 174 174 """ 175 self.mode.locals.font_zoom = zoom 175 176 mode.SetZoom(zoom) 176 177 … … 182 183 183 184 def action(self, index=-1, multiplier=1): 184 self.mode.SetZoom(self.mode.GetZoom() + 1) 185 self.mode.locals.font_zoom += 1 186 self.mode.SetZoom(self.mode.locals.font_zoom) 185 187 186 188 class FontZoomDecrease(SelectAction): … … 191 193 192 194 def action(self, index=-1, multiplier=1): 193 self.mode.SetZoom(self.mode.GetZoom() - 1) 195 self.mode.locals.font_zoom -= 1 196 self.mode.SetZoom(self.mode.locals.font_zoom) 194 197 195 198
