Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smallfix #77

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/html_view/lib/html_view/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def execute
mirror = doc.mirror
if mirror and path = mirror.path and File.exists?(path)
name = "Preview: " +File.basename(path)
else
else
name = "Preview"
preview = java.io.File.createTempFile("preview","html")
preview = java.io.File.createTempFile("preview",".html")
preview.deleteOnExit
path = preview.getAbsolutePath
File.open(path,'w') {|f| f.puts(doc.get_all_text)}
Expand Down
5 changes: 2 additions & 3 deletions plugins/macros/lib/macros/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ module Redcar
module Macros
class StartStopRecordingCommand < Redcar::EditTabCommand
def self.unique_session_id
@unique_id ||= 0
@unique_id += 1
@unique_id
@@unique_id ||= 0
@@unique_id += 1
end

def self.new_macro_message
Expand Down
24 changes: 0 additions & 24 deletions plugins/syntax_check/lib/syntax_check/error.rb

This file was deleted.