Revision: 2621
http://skim-app.svn.sourceforge.net/skim-app/?rev=2621&view=rev
Author: hofman
Date: 2007-08-07 11:58:06 -0700 (Tue, 07 Aug 2007)
Log Message:
-----------
Return UINT_MAX from countOfLines, as this may otherwise suppress returning an
actual line object. It has no meaning anyway, it's just implemented to satisfy
scripting support.
Modified Paths:
--------------
trunk/SKApplicationController.m
trunk/SKDocument.m
Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m 2007-08-07 18:53:43 UTC (rev 2620)
+++ trunk/SKApplicationController.m 2007-08-07 18:58:06 UTC (rev 2621)
@@ -519,7 +519,7 @@
}
- (unsigned int)countOfLines {
- return 0;
+ return UINT_MAX;
}
- (SKLine *)objectInLinesAtIndex:(unsigned int)index {
Modified: trunk/SKDocument.m
===================================================================
--- trunk/SKDocument.m 2007-08-07 18:53:43 UTC (rev 2620)
+++ trunk/SKDocument.m 2007-08-07 18:58:06 UTC (rev 2621)
@@ -1163,7 +1163,7 @@
}
- (unsigned int)countOfLines {
- return 0;
+ return UINT_MAX;
}
- (SKLine *)objectInLinesAtIndex:(unsigned int)index {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit