tim Rowledge uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-tpr.1455.mcz ==================== Summary ==================== Name: Morphic-tpr.1455 Author: tpr Time: 24 June 2018, 6:53:35.51633 pm UUID: 51e4f2c1-d868-474d-823f-78a55a39f40e Ancestors: Morphic-cmm.1454 Start process of moving responsibilty for deciding on Help content code styling or not from TheWorldMainDock to the actual content. The overall effect of these groups of changes is to make no visual difference. Yet. This set actually connects the revised help browser stuff to the world menu entries that open the assorted help browsers =============== Diff against Morphic-cmm.1454 =============== Item was changed: ----- Method: TheWorldMainDockingBar>>commandKeyHelp (in category 'submenu - help') ----- commandKeyHelp "Open a window giving command key help." self openHelp: #SqueakTutorialsCommandKey + topic: nil! - topic: nil - styled: false! Item was changed: ----- Method: TheWorldMainDockingBar>>extendingTheSystem (in category 'submenu - help') ----- extendingTheSystem self openHelp: #SqueakProjectHelp + topic: #extendingTheSystem! - topic: #extendingTheSystem - styled: false.! Item was changed: ----- Method: TheWorldMainDockingBar>>fontSizeSummary (in category 'submenu - help') ----- fontSizeSummary self openHelp: #SqueakToolsHelp + topic: #fontSizeSummary! - topic: #fontSizeSummary - styled: false.! Item was changed: ----- Method: TheWorldMainDockingBar>>licenseInformation (in category 'submenu - help') ----- licenseInformation self openHelp: #SqueakLicenseHelp + topic: #officialLicense! - topic: #officialLicense - styled: false.! Item was added: + ----- Method: TheWorldMainDockingBar>>openHelp:topic: (in category 'submenu - help') ----- + openHelp: bookSymbol topic: topicSymbol + "If a suitable seeming class named bookSymbol exists in the image we open it on the given topic, or on the first page should topic be nil" + (Smalltalk classNamed: 'HelpBrowser') + ifNil: [self inform: 'Sorry, there is no help system installed.' translated] + ifNotNil: [:helpClass | + (Smalltalk classNamed: bookSymbol) + ifNil: [self inform: 'Sorry, the help book you requested does not exist.'] + ifNotNil: [:book | + topicSymbol + ifNil: [(helpClass openOn: book) model showFirstTopic] + ifNotNil: [helpClass openOn: (book perform: topicSymbol)]]]! Item was changed: ----- Method: TheWorldMainDockingBar>>releaseNotes (in category 'submenu - help') ----- releaseNotes self openHelp: #SqueakReleaseNotes + topic: nil! - topic: nil - styled: false.! Item was changed: ----- Method: TheWorldMainDockingBar>>squeakOnlineResources (in category 'submenu - help') ----- squeakOnlineResources self openHelp: #SqueakProjectHelp + topic: #squeakResourcesOnline! - topic: #squeakResourcesOnline - styled: false.! Item was changed: ----- Method: TheWorldMainDockingBar>>squeakUserInterface (in category 'submenu - help') ----- squeakUserInterface self openHelp: #SqueakProjectHelp + topic: #squeakUserInterface! - topic: #squeakUserInterface - styled: false.! Item was changed: ----- Method: TheWorldMainDockingBar>>swiki (in category 'submenu - help') ----- swiki self openHelp: #SWikiHelp + topic: nil! - topic: nil - styled: false.! Item was changed: ----- Method: TheWorldMainDockingBar>>terseGuideToSqueak (in category 'submenu - help') ----- terseGuideToSqueak self openHelp: #TerseGuideHelp + topic: nil! - topic: nil - styled: true.! Item was changed: ----- Method: TheWorldMainDockingBar>>usefulExpressions (in category 'submenu - help') ----- usefulExpressions self openHelp: #SqueakTutorials + topic: #usefulExpressions! - topic: #usefulExpressions - styled: true.! Item was changed: ----- Method: TheWorldMainDockingBar>>workingWithSqueak (in category 'submenu - help') ----- workingWithSqueak self openHelp: #SqueakProjectHelp + topic: #workingWithSqueak! - topic: #workingWithSqueak - styled: false.! |
Free forum by Nabble | Edit this page |