spacepaste

  1.  
  2. source/basicide/baside3.cxx: case SID_SHOWLINES:
  3. source/basicide/baside3.cxx- {
  4. source/basicide/baside3.cxx- // if this is not a module window hide the
  5. source/basicide/baside3.cxx- // setting, doesn't make sense for example if the
  6. source/basicide/baside3.cxx- // dialog editor is open
  7. source/basicide/baside3.cxx- rSet.DisableItem(nWh);
  8. source/basicide/baside3.cxx- rSet.Put(SfxVisibilityItem(nWh, false));
  9. source/basicide/baside3.cxx- break;
  10. source/basicide/baside3.cxx- }
  11. --
  12. source/basicide/baside2.cxx: case SID_SHOWLINES:
  13. source/basicide/baside2.cxx- {
  14. source/basicide/baside2.cxx- const SfxBoolItem* pItem = rReq.GetArg<SfxBoolItem>(rReq.GetSlot());
  15. source/basicide/baside2.cxx- bSourceLinesEnabled = pItem && pItem->GetValue();
  16. source/basicide/baside2.cxx- m_aXEditorWindow->SetLineNumberDisplay(bSourceLinesEnabled);
  17. source/basicide/baside2.cxx- }
  18. source/basicide/baside2.cxx- break;
  19. source/basicide/baside2.cxx- case SID_BASICIDE_DELETECURRENT:
  20. source/basicide/baside2.cxx- {
  21. --
  22. source/basicide/baside2.cxx: case SID_SHOWLINES:
  23. source/basicide/baside2.cxx- {
  24. source/basicide/baside2.cxx- rSet.Put(SfxBoolItem(nWh, bSourceLinesEnabled));
  25. source/basicide/baside2.cxx- break;
  26. source/basicide/baside2.cxx- }
  27. source/basicide/baside2.cxx- case SID_SELECTALL:
  28. source/basicide/baside2.cxx- {
  29. source/basicide/baside2.cxx- if ( !GetEditView() )
  30. source/basicide/baside2.cxx- rSet.DisableItem( nWh );
  31. --
  32. sdi/baside.sdi: SID_SHOWLINES
  33. sdi/baside.sdi- [
  34. sdi/baside.sdi- StateMethod = GetState;
  35. sdi/baside.sdi- ExecMethod = ExecuteCurrent;
  36. sdi/baside.sdi- ]
  37. sdi/baside.sdi-
  38. sdi/baside.sdi- SID_BASICIDE_HIDECURPAGE
  39. sdi/baside.sdi- [
  40. sdi/baside.sdi- ExecMethod = ExecuteCurrent;
  41.