Mercurial > projects > dwt-addons
comparison dwtx/jface/text/PaintManager.d @ 160:3678e4f1a766
toHash, toString
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 02:07:22 +0200 |
parents | f70d9508c95c |
children | 1a5b8f8129df |
comparison
equal
deleted
inserted
replaced
159:7926b636c282 | 160:3678e4f1a766 |
---|---|
241 /** | 241 /** |
242 * Creates a new position manager. Initializes the managing | 242 * Creates a new position manager. Initializes the managing |
243 * position category using its class name and its hash value. | 243 * position category using its class name and its hash value. |
244 */ | 244 */ |
245 public this() { | 245 public this() { |
246 fCategory= getClass().getName() + hashCode(); | 246 fCategory= getClass().getName() + toHash(); |
247 fPositionUpdater= new PaintPositionUpdater(fCategory); | 247 fPositionUpdater= new PaintPositionUpdater(fCategory); |
248 } | 248 } |
249 | 249 |
250 /** | 250 /** |
251 * Installs this position manager in the given document. The position manager stays | 251 * Installs this position manager in the given document. The position manager stays |