baside2.cxx (46d2a04e) | baside2.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 --- 1118 unchanged lines hidden (view full) --- 1127 } 1128 } 1129 break; 1130 case SID_BASICIDE_BRKPNTSCHANGED: 1131 { 1132 GetBreakPointWindow().Invalidate(); 1133 } 1134 break; | 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 --- 1118 unchanged lines hidden (view full) --- 1127 } 1128 } 1129 break; 1130 case SID_BASICIDE_BRKPNTSCHANGED: 1131 { 1132 GetBreakPointWindow().Invalidate(); 1133 } 1134 break; |
1135 case SID_SELECTALL: 1136 { 1137 TextSelection aSel( TextPaM( 0, 0 ), TextPaM( TEXT_PARA_ALL, 0xFFFF ) ); 1138 TextView * pView = GetEditView(); 1139 pView->SetSelection( aSel ); 1140 pView->GetWindow()->GrabFocus(); 1141 } 1142 break; |
|
1135 } 1136} 1137 1138 1139 1140void __EXPORT ModulWindow::GetState( SfxItemSet &rSet ) 1141{ 1142 DBG_CHKTHIS( ModulWindow, 0 ); --- 50 unchanged lines hidden (view full) --- 1193 TextView* pView = GetEditView(); 1194 if ( pView ) 1195 { 1196 SfxBoolItem aItem( SID_ATTR_INSERT, pView->IsInsertMode() ); 1197 rSet.Put( aItem ); 1198 } 1199 } 1200 break; | 1143 } 1144} 1145 1146 1147 1148void __EXPORT ModulWindow::GetState( SfxItemSet &rSet ) 1149{ 1150 DBG_CHKTHIS( ModulWindow, 0 ); --- 50 unchanged lines hidden (view full) --- 1201 TextView* pView = GetEditView(); 1202 if ( pView ) 1203 { 1204 SfxBoolItem aItem( SID_ATTR_INSERT, pView->IsInsertMode() ); 1205 rSet.Put( aItem ); 1206 } 1207 } 1208 break; |
1209 case SID_SELECTALL: 1210 { 1211 if ( !GetEditView() ) 1212 rSet.DisableItem( nWh ); 1213 } 1214 break; |
|
1201 } 1202 } 1203} 1204 1205 1206void __EXPORT ModulWindow::DoScroll( ScrollBar* pCurScrollBar ) 1207{ 1208 DBG_CHKTHIS( ModulWindow, 0 ); --- 559 unchanged lines hidden --- | 1215 } 1216 } 1217} 1218 1219 1220void __EXPORT ModulWindow::DoScroll( ScrollBar* pCurScrollBar ) 1221{ 1222 DBG_CHKTHIS( ModulWindow, 0 ); --- 559 unchanged lines hidden --- |