comparison src/codeview/codeview.d @ 5:496dfd8f7342 default tip

added: -repeat option for "in", "ov" -run until a line option -run until a function option -break on a function start -n is an alias for ov
author marton@basel.hu
date Sun, 17 Apr 2011 11:05:31 +0200
parents a5fb1bc967e6
children
comparison
equal deleted inserted replaced
4:a5fb1bc967e6 5:496dfd8f7342
208 { 208 {
209 if ( ds.name_notype == name ) 209 if ( ds.name_notype == name )
210 return ds; 210 return ds;
211 } 211 }
212 return null; 212 return null;
213 }
214
215 /**********************************************************************************************
216 Find matching data symbols by a substring in its name.
217 **********************************************************************************************/
218 DataSymbol[] findDataSymbolBySubstring(string name)
219 {
220 DataSymbol[] found;
221 foreach ( ds; data_symbols )
222 {
223 if ( find(ds.name_notype,name)>=0 )
224 found~=ds;
225 }
226 return found;
213 } 227 }
214 228
215 /********************************************************************************************** 229 /**********************************************************************************************
216 Find nearest data symbol to the given address. 230 Find nearest data symbol to the given address.
217 **********************************************************************************************/ 231 **********************************************************************************************/