Bug 2384 - Syntax highlighting disappears after switching to Mixed view then back again
Summary: Syntax highlighting disappears after switching to Mixed view then back again
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Adam Jocksch
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2006-02-22 18:22 UTC by Adam Jocksch
Modified: 2006-02-22 21:06 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Jocksch 2006-02-22 18:22:50 UTC
 
Comment 1 Adam Jocksch 2006-02-22 21:06:58 UTC
Bug has been fixed and committed

2006-02-22  Adam Jocksch  <ajocksch@redhat.com>

	* MixedView.java (MixedView): Now adds source windows to scrolled
	widgets so that you can scroll laterally.
	* SourceBuffer.java (SourceBuffer): Added constructor that takes
	the mode to be displayed.
	(finalize): Added, removes this buffer's texttags from the preferences
	that update them.
	* SourceView.java (SourceView): Added constructor that takes the
	mode to be displayed.
	* SourceWindow.java (switchToAsmMode): Now uses new SourceView
	constructor.
	* prefs/ColorPreference.java (ColorPreference): Now adds tag to
	an internal vector of tags if non-null.
	(setModel): Now iteratres through all tags and updates them.
	(saveValues): Ditto.
	(appendTags): Added.
	(removeTag): Added.
	* prefs/PreferenceManager.java (addPreference): If the duplicate
	preference is a color preference, it now concatenates the new
	observer's list of tags with the old one's.
	(getColorPreference): Added private version that takes a string.
	* SyntaxPreference.java (updateTags): Extracted to save the
	properties of all the tags.