baside2b.cxx (e9c37c90) baside2b.cxx (8a25ac93)
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

--- 417 unchanged lines hidden (view full) ---

426 long nPapSz = pModulWindow->GetHScrollBar()->GetPageSize(); (void)nPapSz;
427 long nLinSz = pModulWindow->GetHScrollBar()->GetLineSize(); (void)nLinSz;
428 long nThumb = pModulWindow->GetHScrollBar()->GetThumbPos(); (void)nThumb;
429#endif
430 sal_Bool bDone = sal_False;
431 sal_Bool bWasModified = pEditEngine->IsModified();
432 if ( !TextEngine::DoesKeyChangeText( rKEvt ) || ImpCanModify() )
433 {
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

--- 417 unchanged lines hidden (view full) ---

426 long nPapSz = pModulWindow->GetHScrollBar()->GetPageSize(); (void)nPapSz;
427 long nLinSz = pModulWindow->GetHScrollBar()->GetLineSize(); (void)nLinSz;
428 long nThumb = pModulWindow->GetHScrollBar()->GetThumbPos(); (void)nThumb;
429#endif
430 sal_Bool bDone = sal_False;
431 sal_Bool bWasModified = pEditEngine->IsModified();
432 if ( !TextEngine::DoesKeyChangeText( rKEvt ) || ImpCanModify() )
433 {
434 if ( ( rKEvt.GetKeyCode().GetCode() == KEY_A) && rKEvt.GetKeyCode().IsMod1() )
435 pEditView->SetSelection( TextSelection( TextPaM( 0, 0 ), TextPaM( 0xFFFFFFFF, 0xFFFF ) ) );
436 else if ( ( rKEvt.GetKeyCode().GetCode() == KEY_Y ) && rKEvt.GetKeyCode().IsMod1() )
434 if ( ( rKEvt.GetKeyCode().GetCode() == KEY_Y ) && rKEvt.GetKeyCode().IsMod1() )
437 bDone = sal_True; // CTRL-Y schlucken, damit kein Vorlagenkatalog
438 else
439 {
440 if ( ( rKEvt.GetKeyCode().GetCode() == KEY_TAB ) && !rKEvt.GetKeyCode().IsMod1() &&
441 !rKEvt.GetKeyCode().IsMod2() && !GetEditView()->IsReadOnly() )
442 {
443 TextSelection aSel( pEditView->GetSelection() );
444 if ( aSel.GetStart().GetPara() != aSel.GetEnd().GetPara() )

--- 1894 unchanged lines hidden ---
435 bDone = sal_True; // CTRL-Y schlucken, damit kein Vorlagenkatalog
436 else
437 {
438 if ( ( rKEvt.GetKeyCode().GetCode() == KEY_TAB ) && !rKEvt.GetKeyCode().IsMod1() &&
439 !rKEvt.GetKeyCode().IsMod2() && !GetEditView()->IsReadOnly() )
440 {
441 TextSelection aSel( pEditView->GetSelection() );
442 if ( aSel.GetStart().GetPara() != aSel.GetEnd().GetPara() )

--- 1894 unchanged lines hidden ---