mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-15 11:13:50 +00:00
Fix for nib2cib not working, README updates.
[#32 state:resolved] reviewed by tom.
This commit is contained in:
1 parent
39afdd57cd
commit
95e5a7430a
3 files changed
+38
-3
No files matched your search
+5
-1
@@ -137,9 +137,11 @@ var DOMElementPrototype = nil,
|
||||
*/
|
||||
+ (void)initialize
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
if ([self instanceMethodForSelector:@selector(drawRect:)] != [CPView instanceMethodForSelector:@selector(drawRect:)])
|
||||
CustomDrawRectViews[[self hash]] = YES;
|
||||
|
||||
#endif
|
||||
|
||||
if (self != [CPView class])
|
||||
return;
|
||||
|
||||
@@ -1329,8 +1331,10 @@ setBoundsOrigin:
|
||||
*/
|
||||
- (void)setNeedsDisplayInRect:(CPRect)aRect
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
if (!CustomDrawRectViews[[[self class] hash]])
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (_CGRectIsEmpty(aRect))
|
||||
return;
|
||||
|
||||
@@ -3,7 +3,37 @@
|
||||
* Working with Text Editors
|
||||
***********************************************************************
|
||||
|
||||
This package includes syntax highlighting modes for both SubEthaEdit and TextMate.
|
||||
This package includes syntax highlighting modes for both SubEthaEdit, Coda, TextMate, and vim.
|
||||
|
||||
+ SubEthaEdit
|
||||
|
||||
- Unarchive Tools/Editors/Objective-J.mode.zip
|
||||
- Double click the generated Objective-J.mode file
|
||||
|
||||
+ Coda
|
||||
|
||||
- Unarchive Tools/Editors/Objective-J.mode.zip
|
||||
- Place the generated Objective-J.mode file in ~/Library/Application\ Support/Coda/Modes
|
||||
|
||||
+ TextMate
|
||||
|
||||
- Unarchive Tools/Editors/Objective-J.tmbundle.zip
|
||||
- Double click the generated Objective-J.tmbundle file
|
||||
|
||||
+ Vim
|
||||
- Place Tools/Editors/objj.vim in ~/.vim/syntax/
|
||||
- in ~/.vimrc, add:
|
||||
|
||||
syntax on
|
||||
au BufNewFile,BufRead *.j setf objj
|
||||
|
||||
|
||||
Put the file in objj.vim in ~/.vim/syntax/
|
||||
In ~/.vimrc add:
|
||||
syntax on
|
||||
au BufNewFile,BufRead *.j setf objj
|
||||
This will load the obj-j syntax highlighting when you open files ending in .j
|
||||
|
||||
|
||||
***********************************************************************
|
||||
* Installing the Development Tools
|
||||
@@ -11,7 +41,7 @@ This package includes syntax highlighting modes for both SubEthaEdit and TextMat
|
||||
|
||||
1. Navigate to Tools (the directory containing this README).
|
||||
2. Enter "chmod +x install-tools"
|
||||
3. Enter "sudo ./install-tools"
|
||||
3. Enter "sudo sh ./install-tools"
|
||||
4. Once installation is complete, you will be presented with a list of
|
||||
options that looks something like this:
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
|
||||
<copy file = "SubEthaEdit/Objective-J.mode.zip" tofile = "${Build.Cappuccino.Tools.Editors}/Objective-J.mode.zip" />
|
||||
<copy file = "TextMate/Objective-J.tmbundle.zip" tofile = "${Build.Cappuccino.Tools.Editors}/Objective-J.tmbundle.zip" />
|
||||
<copy file = "Vim/objj.vim" tofile = "${Build.Cappuccino.Tools.Editors}/objj.vim" />
|
||||
|
||||
<zip destfile = "${Build.Cappuccino}/Starter.zip">
|
||||
<fileset dir = "${Build.Cappuccino.Starter}" />
|
||||
|
||||
Reference in new issue
Block a user