baside2b.cxx (74932c38) | baside2b.cxx (e9c37c90) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 369 unchanged lines hidden (view full) --- 378 if ( pEditView ) 379 { 380 pEditView->Command( rCEvt ); 381 if ( ( rCEvt.GetCommand() == COMMAND_WHEEL ) || 382 ( rCEvt.GetCommand() == COMMAND_STARTAUTOSCROLL ) || 383 ( rCEvt.GetCommand() == COMMAND_AUTOSCROLL ) ) 384 { 385 HandleScrollCommand( rCEvt, pModulWindow->GetHScrollBar(), &pModulWindow->GetEditVScrollBar() ); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 369 unchanged lines hidden (view full) --- 378 if ( pEditView ) 379 { 380 pEditView->Command( rCEvt ); 381 if ( ( rCEvt.GetCommand() == COMMAND_WHEEL ) || 382 ( rCEvt.GetCommand() == COMMAND_STARTAUTOSCROLL ) || 383 ( rCEvt.GetCommand() == COMMAND_AUTOSCROLL ) ) 384 { 385 HandleScrollCommand( rCEvt, pModulWindow->GetHScrollBar(), &pModulWindow->GetEditVScrollBar() ); |
386 } | 386 } else if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU ) { 387 BasicIDEShell* pIDEShell = IDE_DLL()->GetShell(); 388 SfxViewFrame* pViewFrame = pIDEShell ? pIDEShell->GetViewFrame() : NULL; 389 SfxDispatcher* pDispatcher = pViewFrame ? pViewFrame->GetDispatcher() : NULL; 390 if ( pDispatcher ) 391 { 392 pDispatcher->ExecutePopup(); 393 } 394 } |
387 } 388} 389 390sal_Bool EditorWindow::ImpCanModify() 391{ 392 sal_Bool bCanModify = sal_True; 393 if ( StarBASIC::IsRunning() ) 394 { --- 1936 unchanged lines hidden --- | 395 } 396} 397 398sal_Bool EditorWindow::ImpCanModify() 399{ 400 sal_Bool bCanModify = sal_True; 401 if ( StarBASIC::IsRunning() ) 402 { --- 1936 unchanged lines hidden --- |