Mercurial > projects > dwt-addons
comparison dwtx/sleak/Sleak.d @ 200:eb3414669eb0 default tip
fix for dmd 1.041 and tango 0.99.8
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 28 Mar 2009 03:09:57 +0100 |
parents | a012107a911c |
children |
comparison
equal
deleted
inserted
replaced
199:eb98a5cbfd78 | 200:eb3414669eb0 |
---|---|
232 void refreshObject () { | 232 void refreshObject () { |
233 int index = list.getSelectionIndex (); | 233 int index = list.getSelectionIndex (); |
234 if (index is -1) return; | 234 if (index is -1) return; |
235 if (check.getSelection ()) { | 235 if (check.getSelection ()) { |
236 char[] txt = "Stacktrace info (if missing you need stacktrace support for your program):\n"; | 236 char[] txt = "Stacktrace info (if missing you need stacktrace support for your program):\n"; |
237 foreach( line; errors[index].info ){ | 237 foreach( frame; errors[index].info ){ |
238 txt ~= line ~ \n; | 238 txt ~= Format("{}:{}\n", frame.file, frame.line ); |
239 } | 239 } |
240 text.setText (txt); | 240 text.setText (txt); |
241 text.setVisible (true); | 241 text.setVisible (true); |
242 canvas.setVisible (false); | 242 canvas.setVisible (false); |
243 } else { | 243 } else { |