Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 6043dcb673
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (24 sloc) 1.087 kB
// Copyright (c) 2010-2011, Rasmus Andersson. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
#import "KAutocompleteTextField.h"
@class CTTabContents, KParseStatusDecoration;
@interface KLocationBarController : NSObject<KAutocompleteTextFieldDelegate> {
// weak, owned by toolbar controller
__weak KAutocompleteTextField *textField_;
// state stored while an edit is active
NSAttributedString *originalAttributedStringValue_;
CTTabContents *currentContents_;
// decorations
KParseStatusDecoration *parseStatusDecoration_;
@property(nonatomic, readonly) NSURL *absoluteURL;
- (id)initWithAutocompleteTextField:(KAutocompleteTextField*)atf;
// called by KToolbarController when the contents changed
- (void)contentsDidChange:(CTTabContents*)contents;
// called when the current contents changed (KDocument version changed)
- (void)contentsDidChange;
- (void)recordStateWithContents:(CTTabContents*)contents;
- (void)restoreState;
- (void)commitEditing:(NSUInteger)modifierFlags;
Jump to Line
Something went wrong with that request. Please try again.