# Make gedit color-format rpdf like an rb file?

**URL:** <https://www.ruby-forum.com/t/make-gedit-color-format-rpdf-like-an-rb-file/146151>\
**Category:** Ruby\
**Created:** [August 18, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/make-gedit-color-format-rpdf-like-an-rb-file/146151 "2008-08-18T15:53:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [August 18, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/make-gedit-color-format-rpdf-like-an-rb-file/146151/1 "2008-08-18T15:53:05Z")

</div>

Sorry, i know this isn’t really a ruby question but thought someone here  
would know.

I just want to tell gedit to format an rpdf file with the same rules as  
it formats an rb file. In case that wasn’t obvious from the subject.

thanks  
max

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [August 18, 2008, 4:02pm UTC](https://www.ruby-forum.com/t/make-gedit-color-format-rpdf-like-an-rb-file/146151/2 "2008-08-18T16:02:30Z")

</div>

Max W. wrote:

> Sorry, i know this isn’t really a ruby question but thought someone here  
> would know.
> 
> I just want to tell gedit to format an rpdf file with the same rules as  
> it formats an rb file. In case that wasn’t obvious from the subject.
> 
> thanks  
> max

I don’t know how to do it permanently, but you can select View -\>  
Highlight Mode to change the highlighting for the current editing  
session.
