- source/basicide/baside3.cxx: case SID_SHOWLINES:
- source/basicide/baside3.cxx- {
- source/basicide/baside3.cxx- // if this is not a module window hide the
- source/basicide/baside3.cxx- // setting, doesn't make sense for example if the
- source/basicide/baside3.cxx- // dialog editor is open
- source/basicide/baside3.cxx- rSet.DisableItem(nWh);
- source/basicide/baside3.cxx- rSet.Put(SfxVisibilityItem(nWh, false));
- source/basicide/baside3.cxx- break;
- source/basicide/baside3.cxx- }
- --
- source/basicide/baside2.cxx: case SID_SHOWLINES:
- source/basicide/baside2.cxx- {
- source/basicide/baside2.cxx- const SfxBoolItem* pItem = rReq.GetArg<SfxBoolItem>(rReq.GetSlot());
- source/basicide/baside2.cxx- bSourceLinesEnabled = pItem && pItem->GetValue();
- source/basicide/baside2.cxx- m_aXEditorWindow->SetLineNumberDisplay(bSourceLinesEnabled);
- source/basicide/baside2.cxx- }
- source/basicide/baside2.cxx- break;
- source/basicide/baside2.cxx- case SID_BASICIDE_DELETECURRENT:
- source/basicide/baside2.cxx- {
- --
- source/basicide/baside2.cxx: case SID_SHOWLINES:
- source/basicide/baside2.cxx- {
- source/basicide/baside2.cxx- rSet.Put(SfxBoolItem(nWh, bSourceLinesEnabled));
- source/basicide/baside2.cxx- break;
- source/basicide/baside2.cxx- }
- source/basicide/baside2.cxx- case SID_SELECTALL:
- source/basicide/baside2.cxx- {
- source/basicide/baside2.cxx- if ( !GetEditView() )
- source/basicide/baside2.cxx- rSet.DisableItem( nWh );
- --
- sdi/baside.sdi: SID_SHOWLINES
- sdi/baside.sdi- [
- sdi/baside.sdi- StateMethod = GetState;
- sdi/baside.sdi- ExecMethod = ExecuteCurrent;
- sdi/baside.sdi- ]
- sdi/baside.sdi-
- sdi/baside.sdi- SID_BASICIDE_HIDECURPAGE
- sdi/baside.sdi- [
- sdi/baside.sdi- ExecMethod = ExecuteCurrent;